Changes between Version 2 and Version 3 of AjaxPrototypeNewForms
- Timestamp:
- Mar 12, 2007, 5:42:58 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AjaxPrototypeNewForms
v2 v3 122 122 { method: 'post', 123 123 parameters: formparameters, 124 onSuc ess: handlereq,124 onSuccess: handlereq, 125 125 onFailure: function() {alert('Refresh the Page, something happend to the server');} // what to do if the server return something else than 2xx status. 126 126 }); … … 137 137 // if not show the errors in the for_fieldname element 138 138 if ( errors.OK ){ 139 eval(erro s.OK)139 eval(errors.OK) 140 140 } else { 141 141 $H(errors).each(function(pair) {