Talk:Xajax 0.2: Tips and Tricks: OnKeyUp Request Buffering






Talk:Xajax 0.2: Tips and Tricks: OnKeyUp Request Buffering

The problem here is that although you've mitigated it, you haven't solved the problem of the asynchronous nature of the requests. And the solution is pretty simple. Instead of using addAssign, use addScript and only perform the update if the string passed matches the current string. I'm not sure exactly what the xaJax code would look like as I'm just getting started with xaJax. Anyone???? Better yet would be to extend xaJax (or even better include natively) a client-side-conditional option that can be included with any of the response calls that will check the value passed against a client-side value and only perform the action if they match. Someone else can probably put that in clearer terms. --Allauthors 15:44, 17 November 2006 (EST)