Displaying 1 result from an estimated 1 matches for "icon_printer".
2008 Feb 19
1
adding an onclick option to link_to method
..." option to tell the popup to print? I know how to do
this in javascript but not sure how to use the rails help to do it. 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 =&g...