Changes between Version 2 and Version 3 of AjaxPrototypeNewForms


Ignore:
Timestamp:
Mar 12, 2007, 5:42:58 AM (17 years ago)
Author:
Paweł Pałucki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxPrototypeNewForms

    v2 v3  
    122122        { method: 'post',
    123123          parameters: formparameters,
    124           onSucess: handlereq,
     124          onSuccess: handlereq,
    125125          onFailure: function() {alert('Refresh the Page, something happend to the server');} // what to do if the server return something else than 2xx status.
    126126        });
     
    137137        // if not show the errors in the for_fieldname element
    138138        if ( errors.OK ){
    139             eval(erros.OK)
     139            eval(errors.OK)
    140140        } else {
    141141            $H(errors).each(function(pair) {
Back to Top