Onfocus

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Does anyone know why an onfocus=blur() is not working on an HTML-select??

------------------
Jack Michaelson
[email protected]
! Click here for my profile !

Shakespeare: onclick || !(onclick)

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I don't know if you can focus a select box or not? Post a url or the code and we can take a closer look for you.

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

here we go:

Code Sample:

<select name="whatever" onfocus="blur()">
   <option value="whatever"></option>
   <option value="whatever"></option>
   <option value="whatever"></option>
</select>

You propably want to know why I want to use it. It's because I want to create an overview of the contents of a db using ASP.
I know I can put the the contents in a HTML-table, but then it is not scrollable and in a HTML-select it is.

------------------
Jack Michaelson
[email protected]
! Click here for my profile !

[This message has been edited by Jack Michaelson (edited 15 December 1999).]

Shakespeare: onclick || !(onclick)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.