In my view I have a:
<%= render :partial => 'uplog' %>
and the partial is shown below. Note there is js in it which I thought
got executed on load (but, I have found out this does NOT happen when
a partial is loaded. How else can I execute the js below when the
partial gets loaded (someone said to call it explicitly....but how and
from where?) THanks, Janna B
<div id="namesdata" style="float: left; width: 200px;">
names
</div>
<div id="rowsdata" style="float: left; ">
rows
</div>
<script>
startClock('../../../../www/test/ggriptest/getdata1.dat','./
getdata2.php');
</script>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---