Thanks for your quick replay, it's working perfectly.
I have one more thing I want to add - giving the user the option to select number of products (dynamically), the best I can do is this:
Code:
function addInput(divName){
var newdiv = document.createElement('div');
newdiv.innerHTML = document.getElementById(divName).innerHTML
document.getElementById(divName).appendChild(newdiv);
Leave a comment: