jQuery-Visibly icon indicating copy to clipboard operation
jQuery-Visibly copied to clipboard

Do checkboxes work?

Open jasondavis opened this issue 9 years ago • 1 comments

Do checkboxes work?

I tried this:

<input id="foo" name="foo" type="checkbox"> Foo
<input id="foo2" name="foo2" type="checkbox"> Foo2
<input id="foo3" name="foo3" type="checkbox"> Foo3

<div id="test" class="conditional" visibly="foo:checked%foo3:checked">

with:

$('#test').Visibly();

When ran it hides my #test DIV but will not show it when checkboxes are checked

jasondavis avatar Jul 06 '16 18:07 jasondavis

I'm having trouble with checkboxes as well. It seems like the issue is related to val() being used as it returns the value for the field regardless of whether it is checked or not.

christianmagill avatar Aug 16 '16 20:08 christianmagill