Hi,
This is ram.
I am developing a page(usereg.jsp ) with two textboxes one for username and another for email. Since i am using this page in main.jsp using Ajax, I am removing the body part in usereg.jsp.
Now i need to focus the cursor in first textbox of usereg.jsp. Since there is no body tag in this jsp i cannot call onload="documen t.formname.text boxname.focus() ".
But i need the focus in textbox when i call this page in main.jsp.
Even i have tried to focus the texbox in usereg.jsp by writing the seperate java script in this page. When i execute just this page(usereg.jsp ) the problem of focusing text box is solved,,
But when i call this page in main.jsp along with the java script i wrote, the focus is not reflecting.
Please suggest me where am i going wrong..
my mailid is: ****
This is ram.
I am developing a page(usereg.jsp ) with two textboxes one for username and another for email. Since i am using this page in main.jsp using Ajax, I am removing the body part in usereg.jsp.
Now i need to focus the cursor in first textbox of usereg.jsp. Since there is no body tag in this jsp i cannot call onload="documen t.formname.text boxname.focus() ".
But i need the focus in textbox when i call this page in main.jsp.
Even i have tried to focus the texbox in usereg.jsp by writing the seperate java script in this page. When i execute just this page(usereg.jsp ) the problem of focusing text box is solved,,
But when i call this page in main.jsp along with the java script i wrote, the focus is not reflecting.
Please suggest me where am i going wrong..
my mailid is: ****
Comment