Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus to textbox
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00689308
Message ID:
00689329
Views:
26
>You need to write JavaScript...here is an example.
>
>
><script>
>//---------------------------------
>function initForm() {
>//---------------------------------
>document.thisform.cust_ccontactfirstname.focus();
>}
></script>
>
><body class="dataform" topmargin="0" leftmargin="0" onload="initForm();">
>...
>...
>
>
>
>>Hi, \
>>
>>In an ASP with a textbox (id=txttextbox, name=txttextbox) :
>>How do I set focus to a txttextbox when the page loads?
>>
>>
>>Neil

Thank you for your response. I have some questions about the code supplied:
What is document.thisform
What is document.thisform.cust_ccontactfirstname
What is class="datform" and why do I need it

Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform