Displaying 1 result from an estimated 1 matches for "db_bfilter0".
Did you mean:
db_bfilter
2006 Aug 17
2
link_to_remote option :onsuccess, execute js function
How should I define 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...