Joel Alejandro Espinosa Carra wrote the following on 3/23/2006 3:45 PM:

I'm worried about the load of the database beacuse this action is
called from a javascript event "onkeyup()" this means that the action
will be executed every time when user press a key in the field, is
there an other way to do this in order to increase the performance?

When you capture onKeyUp() start some sort of timer, so that the user has to pause for at least maybe 2 seconds(?) before you hit the server. This way if the user is just typing along quickly that ajax event won't fire.


--
Rick
http://www.learntechnology.net

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to