...
Next, to modify the contents, you'll need to register an event handler for the Prototype AJAX call. As an example, put in a page extension on the page “userpackage/status” that looks something like this:
Code Block | ||
---|---|---|
| ||
Ajax.Responders.register({ onComplete: function(response){ alert('hello'); } }); |
...