Hi ,
I want to use javascript for some simple client side validations, like if there are 2 textboexes, and if I write in second textbox, & first textbox is null , I want to give alert that first textbox value is null and the focus should be transfered to first textbox.
For this I need to know how to access value of form item in javascript, for which I used to write
document.form1.textbox1.value
in ASP.
I want equivalent for this statement.
Thanks ...
I want to use javascript for some simple client side validations, like if there are 2 textboexes, and if I write in second textbox, & first textbox is null , I want to give alert that first textbox value is null and the focus should be transfered to first textbox.
For this I need to know how to access value of form item in javascript, for which I used to write
document.form1.textbox1.value
in ASP.
I want equivalent for this statement.
Thanks ...