Topic: can't use .js.erb

I am trying to update a partial using jquery. I can make the code work  if i put the jquery on the page but if i put it in a .js.erb file I get a missing template error and it wants an .rjs . If I put the code in a .rjs file it doesn't recognise the jquery.

What am I missing?

Re: can't use .js.erb

delete prototype