Displaying 1 result from an estimated 1 matches for "invisibl".
Did you mean:
invisible
2006 Aug 14
2
Change Button Text - Ajax
Hi,
I have the following code
<%= button_to_function "Hide", "Element.toggle(''mytext'');"%>
which does toggle the invisiblity of the text just fine, But want I want
via ajax magic, is to also toggle the button text, so it will now
display "Show" when I have toggled the invisiblity of the Div.
Thanks for any help.
John
--
Posted via http://www.ruby-forum.com/.