Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you set focus on input type in ASP

Status
Not open for further replies.

monaamit

Technical User
Feb 11, 2005
14
0
0
US
I have created a form a that has required fields.How do I set focus the field that is missing data in ASP
 
Do it the same way as with plain HTML pages... with client-side script.

... or maybe I misunderstand the question...

One thing you could do with ASP is use the server-side logic to send different HTML or JavaScript to the browser depending on whether or not your field has a value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top