set text field value on page load
I have a text field that is for a number. On page load the value is "0.0000"... I want the text field to be blank if the value is indeed "0.0000".
Obviously the following would be out of the question:
<form id="form1" onload="load"... will not work.
Any suggestions on how I can validate and set the value of the text field on page load?
Please let me know. Also, let me know if you need more details.
if (document.Form1.nQty.value == '0.0000')
document.Form1.nQty.value = ''
Come and learn web design and scripting languages with me at: ScriptSchools.com
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread