search for: sendformcomplet

Displaying 1 result from an estimated 1 matches for "sendformcomplet".

Did you mean: sendformcompleted
2005 Dec 13
2
Ajax.Request onComplete
...node; this.enabled = *true*; } }, sendForm: *function*() { *// let''s serialize the content of the form* *// and send it to the server* *var* myAjax = *new* Ajax.Request(this.form_action, { parameters: Form.serialize(this.edit_form), onComplete: this.sendFormCompleted}); }, sendFormCompleted: *function*(originalRequest) { *var* result = originalRequest.responseText; *// we need to replace the form with the result* *// XXX How to get this here ??* this.rendered_node.innerHTML = originalRequest.responseText; } } The problem I have is tha...