Forum: Ruby on Rails calling javascript via "eval(request.resopnseText") help nee

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Rich B. (Guest)
on 2006-01-28 15:50
(Received via mailing list)
I have a link_to_remote method:

<%= link_to_remote image_tag("clock_run.gif", :border=>'0'),
								:update =>,
								: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 the set up I
have? Maybe a better way, would be to ask, would someone show me a
simple example of how I could execute a simple pop up such as:


This topic is locked and can not be replied to.