Displaying 1 result from an estimated 1 matches for "filter_link_help".
Did you mean:
filter_link_helper
2006 Aug 17
2
link_to_remote option :onsuccess, execute js function
...ine the :onsuccess option in my - link_to_remote - tag,
to execute a Js function
I wrote :
:success => "toggleButton(this, /db_bfilter/i);"
''this'' is the current element defined in my view :
<span id="db_bfilter0" class="depressed"><%= filter_link_helper "This
week" %></span>
<span id="db_bfilter1" class="raised"><%= filter_link_helper "This
month" %></span>
when hit, the link execute a new filtered search (by week or by month
according to the filter_link_helper )
on success i...