Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addrow(id, type, name){
- i++;
- var prod_name = document.getElementById('id_name').value;
- $('tbody#variations').append('<tr attr="'+id+'"><th><input type="text" id="boat" name="variation_product'+i+'" value="'+prod_name+'('+type+" - "+name+')" /></th><td><input name="variation_product'+i+'" type="text" value="'+randomXToY(100000000000,999999999999,0)+'" /></td><td>$<input name="variation_product'+i+'" type="text" /></td></tr>');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement