How to remove a class from a check in a jQuery Mobile Table -


i have check box inside jquery mobile table id of deletetable , has following class added it:

enter image description here

i want remove class ui-checkbox have following code:

$("tabledelete input[type='checkbox'] div").removeclass("ui-checkbox"); 

but somehow doesn't seem work , i'm sure why.

you try :

$("tabledelete .ui-checkbox").removeclass("ui-checkbox"); 

on other hand, mustn't doing this. if dont want styling applied element, example, checkbox, must have data-role=none in it.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -