search for: handlesuccess

Displaying 2 results from an estimated 2 matches for "handlesuccess".

2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
...ple Usage: first you have to define a callback method for the history handler which replays a previous ajax request: var historyUpdate = function(hash) { new Ajax.Request( .... } in the onSuccess/onComplete of a Ajax.Request or Ajax.Updater (etc) you have to add an history point: var handleSuccess = function(request){ //... update DOM or smth like that Ajax.History.add(request.options.parameters) //... } (might also be done an Ajax.Responder or something like that) and in the foot of your html page you have to insert smth like: <script type="text/javascript"...
2006 Jun 29
11
Autocompleter without a default choice
Hi, I have an ajax auto completer for a text field in a form. All''s good. Unfortunately, I also want the form to be submitted when the user hits ''return'' in the text field. This combination of circumstances means that if the user is typing his entry and then hits return to submit it is possible that dang auto completer will pop up and complete his entry for even if he