search for: showresource1

Displaying 1 result from an estimated 1 matches for "showresource1".

2009 Apr 24
2
passing a value to a js function via button_to_function
I''ve got a table of what I call resources, want to show in a jQuery dialog a particular record when user clicks button in a row. in the table I''m doing: <td><%=button_to_function ''Show'',''showresource1()'',:class =>"ui-button ui-state-default ui-corner-all", :id => resource.id %></td> js: <script type="text/javascript" charset="utf-8"> function showresource1() { jQuery("#resource_details").load( ''http://localh...