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

Already on GitHub? Sign in to your account

Checkboxes don't work in tables anymore #3689

crwang opened this Issue Mar 1, 2012 · 3 comments


None yet
4 participants

crwang commented Mar 1, 2012

Checkboxes don't seem to work in tables now.

When the page loads it just has the loading spinner if a input text="checkbox" is in a cell.


brianantonelli commented Mar 1, 2012

Are you including a label? If you don't have a label it will throw an exception. Also, is this is a true <table> cell or a list view? I am able to throw the same error regardless of what container it lives in.

Broken (no label): http://jsfiddle.net/monkeymojo/E42ua/
Working (with label): http://jsfiddle.net/monkeymojo/2RrrL/

Exception: NOT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. This occurs in http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.js on line 5139 (in mobile.checkboxradio widget)

crwang commented Mar 1, 2012

Hmm.. thanks, I was not using a label. In the stable release version v1.0 I didn't need a label. It's a true table in a td tag.

I'm not sure then if this is a true bug, since there's a basic workaround, but I probably shouldn't close it.

@ghost ghost assigned johnbender Mar 1, 2012


fcheslack commented Mar 1, 2012

Related to #3688
Same exception from the same function, but different cause. It seems that the checkbox create function has become much less forgiving of markup not written with JQM in mind (and this is a fairly important issue since JQM gets far enough in execution to blank the page before breaking).

@johnbender johnbender closed this in 52bb440 Mar 1, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment