Guest User

Untitled

a guest
Apr 26th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # how can i pass the complete content of a div with :with=> in a remote function?
  2.  
  3. <%= link_to_remote( image_tag('/images/buttons/de/edit_grey.gif', { :alt => 'bearbeiten',:width => '67',:height => '13' } ),
  4. { :url => { :controller => 'knowledge/lexicon',:action => 'lexikon2_edit_replace',:type => lexikon_display.class,:id => lexikon_display.id }, :with => "'edit='+$('lexikon_txt').value" } ) %>
Add Comment
Please, Sign In to add comment