[jQuery] jquery in rails/rjs files
Is it possible to use jquery in rails rjs files?
I have a lot of files like:
page[:item].replace_html render :partial => "foo"
page.call 'update_basket'
.
.
.
I just looked at jquery and I would like to replace all my prototype
code.
But when I do not include prototype "page.call" does not work with an
error message:
"Ajax not defined"
Is there a way to solve this problem?
Thanx