What are people doing to make sure their ajax responses apply to pages in the correct order? I'm using an onkeyup form component updater for a find-as-you-type query a fairly large database. Incorrect results are often rendered because the second-to-last request responds after the actual last request. (This makes sense, as a query returning fewer results is often faster.)
It's a "like '%token%'" query so mysql has to scan the whole table. Bummer, but I need that first %. I played around with the throttle delay but it didn't make a difference. I'd like to just throw out the out-of-order response. Even better would be if the ajax request didn't happen until the user paused typing. Any ideas? Nathan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
