Displaying 1 result from an estimated 1 matches for "print_popup".
2008 Feb 19
1
adding an onclick option to link_to method
.... I
also am aware that the link_to_function method is used to call a
javascript function. Here''s the code I have to open the popup:
<%= link_to icon(''icon_printer'', :alt => ''Print'') + ''Print Cable'',
{:controller => ''print_popup'',
:action => ''display_popup'',
:doc => @document,
:header => ''My Doc''},
:title => ''My Title'',...