Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus to textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00689308
Message ID:
00689328
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform