hi all..
how do i focus a textbox from a javascript
i'e)
[code=html]<input type="text" size='50' name="txt1" maxlength='254' value="" onblur="checkDi r()">
<input type="text" size='50' name="txt2" maxlength='254' value="" onblur="checkDi r()">[/code]
i've a funtion in js called checkDir()... and i've more text boxes... i need to focus the text box from where i get the control
suppose if my control goes from text2 i need to set focus on textbox2.. how do i do it .... anyone help me out of dis
how do i focus a textbox from a javascript
i'e)
[code=html]<input type="text" size='50' name="txt1" maxlength='254' value="" onblur="checkDi r()">
<input type="text" size='50' name="txt2" maxlength='254' value="" onblur="checkDi r()">[/code]
i've a funtion in js called checkDir()... and i've more text boxes... i need to focus the text box from where i get the control
suppose if my control goes from text2 i need to set focus on textbox2.. how do i do it .... anyone help me out of dis
Comment