FernandezPablo wrote:
> Hi, I'm having a problem with prototype.
> this code breaks in IE 6
> $("formId").submit.wrap(function(proceed){})
> because "wrap" is undefinded.
> any ideas? Thanx!
You're going to want to observe the submit event instead of altering the 
native submit function:

$("formId").observe('submit', function(event) {
  // stop event if needed or don't stop to "proceed" with submission

- Ken Snyder

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to