Hi,

The *Form* is not working as a singleton with the svn
version of 19-april-2007 9 AM GMT.

Example below ilustrates the bug (it is bug right?).
Thanks a lot for the great software.

Cheers,
   Zac
{{{
<html>
<head>
<script src="prototype.js" type="text/javascript"></script>
</head>

<body>

Click any button to reset the form.
<form id="h" onsubmit="return false;">
        <input type="text" name="hello" />
        <br />
        <button onclick="$('h').reset();" />This works</button>
</form>
<br />
    <button onclick="Form('h').reset();">This does not work!</button>
</body>
</html>
}}}
~
~
~


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to