Hi.

I've got the latest git which has ...

var Form = {
  reset: function(form) {
    form = $(form);
    form.reset();
    return form;
  },
...


Which suggests that ...

$('formID').reset().getElements().invoke('disable');

should work. But it doesn't.

It seems that the prototype reset() method is not called. Instead the
normal method is called and returns nothing.

Though using ...

Form.reset('formID').getElements().invoke('disable');

does work.

This is in FireFox V3.0.6

Not sure about IE/Chrome/Safari/Opera, sorry.

Regards,

Richard Quadling.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to