Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Not able to change checkbox checked value - no visible effects #647

Open
26filip opened this issue Apr 8, 2013 · 3 comments
Open

Not able to change checkbox checked value - no visible effects #647

26filip opened this issue Apr 8, 2013 · 3 comments

Comments

@26filip
Copy link

26filip commented Apr 8, 2013

I try to change checkbox checked attribute using JavaScript code:

$('input[name=Test]').attr('checked', false);

On Chrome with disabled Ripple emulator, those code works fine, but on Ripple and Z10 not...

@ejzn
Copy link
Contributor

ejzn commented Apr 11, 2013

This is a jQuery issue by the looks of it. Please direct issue such as this to the forum. Thanks!

@26filip
Copy link
Author

26filip commented Apr 11, 2013

I'm not sure, that its jQuery issue - when I run this code in normal web browser, everything works fine. On Ripple and Z10 also work, but only in logic:

$('input[name=Test]').attr('checked', false);
if($('input[name=Test]').is(':checked'))
alert('A');
else
alert('B');

it return alert('B')

@ejzn
Copy link
Contributor

ejzn commented Apr 11, 2013

I guess what I'm implying is perhaps the attr('checked', false); does not work on the Z10, but that would not be a Z 10 issue. That would be a jQuery bug not working on the Z10.

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

No branches or pull requests

2 participants