Hi all,

Sorry if this is a FAQ but having no luck with google.

We've used Prototype 1.5.x and currently 1.6.0.2 and are seeing
something weird.

My understanding from the docs is that all elements retrieved from $
('xxxx') utililty function are extended with the prototype methods
e.g. update(str).

Our problem is twofold, but possibly a single root cause:

1) On Safari and Firefox this does not seem to be happening. i.e. we
cannot call $('someelem').observe(....) - we always still have to use
the longer Event.observe($('someelem'), ....) form. Why would this be
the case?

2) Our code runs fine (using the longer method forms) in Safari and
Firefox. However in MSIE no calls to the extra Element methods work eg
$('somename').update("new text") yields the dreaded "Object doesn't
support this property or method"

Can you tell me what I am doing wrong / are my expectations wrong?
It's particularly frustrating as this worked in a previous webapp with
Prototype 1.5 but can I see what the difference is / reverse engineer
it?! Nope.

Thanks in advance for your help.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to