Jump to content

Fun a Script on Field exit


This topic is 6095 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Does anybody know if it is possible to run a script when a user moves out of a field.

I have for example a global search field on and currently the user has to enter their search key words into the field and then click the search button which run the search script.

What i would like to do is have that happen when the user presses enter which then exits the filed.

Any ideas would be most appreciated.

Link to comment
Share on other sites

there are plug-in's that will do it. (including the sample plug-in I'm told) Not that I have ever used them.

I think I would just put the search button in the tab order, change the behavior on the search field so Enter advances to the button, and Enter on the button will search.

net result: user has to press "enter" twice

Edited by Guest
spellling
Link to comment
Share on other sites

This topic is 6095 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.