I''ve got the following (for now as a test): <script type="application/javascript" src="JavaScript/prototype.js"></ script> <script type="application/javascript">Event.observe(window, ''load'', function () {alert("meow");});</script> In Firefox, I get an alert saying "meow". In Internet Explorer 7 (and the more recent Windows Safari), I get nothing?! What''s going on? Suggestions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
After a bit of mucking around, I suspect it might be the type attribute. Anyone experienced troubles with this? Specifically in terms of IE (dunno ''bout Safari...) On Jun 15, 5:09 pm, Omega <atrau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve got the following (for now as a test): > > <script type="application/javascript" src="JavaScript/prototype.js"></ > script> > <script type="application/javascript">Event.observe(window, ''load'', > function () {alert("meow");});</script> > > In Firefox, I get an alert saying "meow". In Internet Explorer 7 (and > the more recent Windows Safari), I get nothing?! > > What''s going on? Suggestions?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
type="text/javascript" On Jun 15, 7:23 pm, Omega <atrau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> After a bit of mucking around, I suspect it might be the type > attribute. > > Anyone experienced troubles with this? Specifically in terms of IE > (dunno ''bout Safari...) > > On Jun 15, 5:09 pm, Omega <atrau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''ve got the following (for now as a test): > > > <script type="application/javascript" src="JavaScript/prototype.js"></ > > script> > > <script type="application/javascript">Event.observe(window, ''load'', > > function () {alert("meow");});</script> > > > In Firefox, I get an alert saying "meow". In Internet Explorer 7 (and > > the more recent Windows Safari), I get nothing?! > > > What''s going on? Suggestions?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I have a similar problem..is Event.observe buggy for IE7? On Jun 15, 4:09 pm, Omega <atrau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve got the following (for now as a test): > > <script type="application/javascript" src="JavaScript/prototype.js"></ > script> > <script type="application/javascript">Event.observe(window, ''load'', > function () {alert("meow");});</script> > > In Firefox, I get an alert saying "meow". In Internet Explorer 7 (and > the more recent Windows Safari), I get nothing?! > > What''s going on? Suggestions?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---