Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- = link_to "Show", @mymodel, :remote => true, :id => "#{some.id}", :format => :js
- $(document).ready(function(){
- $('#theid').click(function(){
- //do something here
- });
- });
- respond_to do |format|
- format.js
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement