Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function addrow(id, type, name){
  2.     i++;
  3.     var prod_name = document.getElementById('id_name').value;
  4.     $('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>');
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement