Timeline for How do I show/hide elements on a page using jquery?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 11, 2014 at 19:06 | comment | added | John R | Why did this get down votes? | |
May 1, 2014 at 15:02 | comment | added | John R |
worked perfectly, thanks! here is my final code: drupal_add_js('(function ($) { $("#edit-custom-search-types").css("visibility","hidden"); }(jQuery));', 'inline'); drupal_add_js('(function ($) { $("#adv_search_link").click(function() { if( $("#edit-custom-search-types").css("visibility") == "hidden" ) { $("#edit-custom-search-types").css("visibility","visible"); } else { $("#edit-custom-search-types").css("visibility","hidden"); }});}(jQuery));', 'inline');
|
|
May 1, 2014 at 15:00 | vote | accept | John R | ||
Apr 30, 2014 at 22:20 | review | Low quality posts | |||
Apr 30, 2014 at 23:02 | |||||
Apr 30, 2014 at 21:00 | review | First posts | |||
Apr 30, 2014 at 22:10 | |||||
Apr 30, 2014 at 20:55 | history | edited | drupby | CC BY-SA 3.0 |
added 80 characters in body
|
Apr 30, 2014 at 20:47 | history | edited | drupby | CC BY-SA 3.0 |
added 80 characters in body
|
Apr 30, 2014 at 20:41 | history | answered | drupby | CC BY-SA 3.0 |