Skip to Content
0
Former Member
Aug 25, 2004 at 07:07 AM

BSP wit MVC - How to set the Focus on a field

172 Views

How to set the Focus on a field on initial load only.

Under IE there is no cursor visible until tab is pressed

or a mouse click occurs.

I know of javascript options form.name.focus()

But when using views I was curious as to the best way to

include this option.

I also looked for and didnt find the option on the HTMLB.FORM tag.

Any suggestions / tips

has anyone done this ?

Cheers

Phil.