On Oct 12, 11:36 am, Hans Hartmann <[email protected]> wrote:
> TypeError: $("#test").replaceWith is not a function
>
> $("#test").replaceWith("it works");
>
> I did <%= javascript_include_tag :default %> in the application, but i'm
> not quite sure if prototype is really implemented. How can I check this?
>

WIth prototype if an element's id is test then you'd want $('test') to
get that element (if you want css selectors with prototype use $$)

> Prototype v.2.0.0

Unlikely - the latest version of prototype is the 1.7 release
candidate

Fred
> Rails v.2.3.5
>
> Thank you
> Hans
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to