Hi David,
Have you try to just put this tag :
<script type="text/javascript"
src="js/prototype.js"></script>
I am under FF 2.0.0.4 and Prototype 1.5.1 and all is OK.
Is you Prototype file is in the correct Path you precise in your
script "src" attribute ?
--
Cyril
On 6/12/07, dmgens
<david-ai3HjtyLJXqeS2mSZxZSLkEOCMrvLtNR@public.gmane.org>
wrote:>
> folks,
>
> I/m trying to get prototype 1.5.1 to play nice in firefox 2.0.0.4. I/
> m new to this game and don''t know what is wrong. At the line:
>
> '', JSONFilter: /^\/\*-secure-\s*(.*)\s*\*\/\s*$/, emptyFunction:
> function() { }, K: function(x) { return x } }
>
> the javascript is displayed as text if the portotype.js is actually
> pasted into the html.
>
> and if I try:
>
> ript src="prototype.js" type="text/javascript"
> language="JavaScript1.2"></script>
>
> then try to reference $("temp") where I have defined temp with
<div
> id="temp">
>
> I''m told that $() is undefined.
>
> I''m sure iIm doing something wrong but what?
>
> Thanks for any help you can give me
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---