I will try to explain as simple as i can
head section
<script type="text/javascript">
function randomnumber() {
document.forms[0].randomnumber.value=(…
}
onload=randomnumber
</script>
body section
<div class="ss-item ss-text"><div class="ss-form-entry"><label class="ss-q-title" for="entry_13">Booking ID
</label>
<label class="ss-q-help" for="entry_13">To trace ur record</label>
<input type="text" name="entry.13.single" value="" class="ss-q-short" id="entry_13"></div></div></div>
the normal way to see my random number is
<input name="randomnumber" readonly> (readonly so that no one can change it)
All I required is to have this generated random number in the place of value="" so that user will not put anything but instead this random number will appear in box and go with the form submit (in the input of name=entry.13.single) because in the submit result, i can get the result whatever is in value="" place which is my requirement.
Please any one help me on this. I want this to be done by any means.
Thanks in advance