I m using Rails 3.2.1. how to use link_to with remote=>true
You probably want to use $(“#allclick”).update instead of $(“allclick”).update
Note the # that indicates you are selecting an element by the ID.
Tim Shaffer wrote in post #1049440:
You probably want to use $("#allclick").update instead of $("allclick").update
Note the # that indicates you are selecting an element by the ID.
I'm using $("#allclick").update
after doing some googling I got the answer
wrong way : $("#allclick").update("<%= escape_javascript(render(:partial => "goclick")) %>");
Update would work perfectly if you were using Prototype.js instead of jQuery.
Walter