Hi I am learning to use jQuery but I can’t seem to get the following
line to work from my html.erb file
I see the output for the basic javascript call, but nothing from
jQuery, what am I doing wrong?
I know Rails 3.2 comes with jQuery installed and I do see it in the
Gemfile:
gem ‘jquery-rails’
–
Kind Regards,
Rajinder Y.
SafetyNet Test Driven Development
http://safetynet.devmentor.org
Dev_G
2
On Mon, Feb 13, 2012 at 2:01 AM, Dev G. [email protected] wrote:
I see the output for the basic javascript call, but nothing from
jQuery, what am I doing wrong?
I know Rails 3.2 comes with jQuery installed and I do see it in the Gemfile:
gem ‘jquery-rails’
I figured out I need to use:
$(“
Hello from jQuery!
”).appendTo(‘body’)
–
Kind Regards,
Rajinder Y.
SafetyNet Test Driven Development
http://safetynet.devmentor.org