Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do checkboxes work? #4

Open
jasondavis opened this issue Jul 6, 2016 · 1 comment
Open

Do checkboxes work? #4

jasondavis opened this issue Jul 6, 2016 · 1 comment

Comments

@jasondavis
Copy link

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

@christianmagill
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants