Hi!
I have tried the demo code from http://www.prototypejs.org/api/timedObserver
and get a "Null value" error in Safari and a "element has no
properties" (line 2753) error in Firefox.
I use prototype version 1.5.1.1
My html code looks like that ...
<html>
<head>
<title>Test</title>
<script src="prototype.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
//<![CDATA[
new Form.Element.Observer('test', 0.2, function(el, value)
{ alert('New value: ' + value) } )
//]]>
</script>
<form action="#" method="post">
<input type="text" name="test" value="" id="test">
<input type="submit" value="Continue →">
</form>
</body>
</html>
What wrong?
TIA,
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---