I have the following two variables I have passed from another page...
var fname = delineate(text)
var lname = delineate2(text)
document.output.fname.value = fname + lname;
document.getElementById('toy-vote').value = fname; << Trying to pass to paypal code as ID
<input type="hidden" name="on3" value="Vote">
<input type="hidden" name="os3" id="toy-vote">
ID does not work to pass. This code works, it passed value=staticvalue to paypal's checkout page... not sure how to pass the variable.