Displaying 1 result from an estimated 1 matches for "punch_in".
Did you mean:
  pitch_in
  
2006 Jan 28
0
calling javascript via "eval(request.resopnseText") help needed.
...:
<%= link_to_remote image_tag("clock_run.gif", :border=>''0''),
								:update => @task.id,
								:complete=>"eval(request.responseText);",
								:url => {:controller => ''time_entries'',
										 :action => ''punch_in'',
										 :id => @task} %>
The  controller ultimately renders a partial:
render :partial => "partial/punch_out_link"
The partial renders fine, but I''m unable to call any of the javascript
methods inside the partial.  Shouldn''t I be able to with th...