I am stuck with the following code:
I want to toggle some text using hidden/visible.
I am using javascript functions to add dynamic text to the page, that’s why I use .live …
I can toggle to hide, but not to visible (if($(‘#1’).is(‘:hidden’)) is never true).
Any help appreciated 🙂
according to the jQuery docs on :hidden,
so you’d better check for the value.
or use other method