hi am trying to submit a value in div form surrounded by javascrript how do i submit the value
original form
<input name="balance" type="text" value="{MIN_BIDS}" size="15" maxlength="10" readonly="true">
what i want
<div id="win"><script>
var x = {MIN_BIDS} + ( {MIN_BIDS} * .95 ) ;
document.getElementById("win").innerHTML = x;
</script> $</div>
That input has a max length of 10, so you won’t succeed.
actually this output a number
<div id="win"><script>
function copText() {
var x = {MIN_BIDS} + ( {MIN_BIDS} * .95 ) ;
document.getElementById("win").innerHTML = x;}
</script> </div>
i need it to display the number in this value form probably using an id
<input name="balance" type="text" id="win" value="" readonly="true">
actually this output a number
i need it to display the number in this value form probably using an id
system
Closed
5
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.