Re: [Rails] A simple javascript alert not working

2013-05-31 Thread Colin Law
On 31 May 2013 18:36, Paul Bergstrom wrote: > If I have a file in view /test called index.js.erb and in it a simple > alert("hello") shouldn't that run when I go to /test/index? It doesn't. I think you will have to give us a bit more detail on exactly what you have done. First have a look at the

[Rails] A simple javascript alert not working

2013-05-31 Thread Paul Bergstrom
If I have a file in view /test called index.js.erb and in it a simple alert("hello") shouldn't that run when I go to /test/index? It doesn't. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To u