I am storing all checkboxes what my div has in to a variable, later i am finding disabled from the stored variable, but i am not get proper result, instead if I find separately I am getting proper result..
what why i am not find the disabled from my stored variable?
here is my code:
var checkedBoxes = $(".locale-container .panel ul li").find("input:checkbox"),
disabledBoxes = checkedBoxes.find("input:checkbox:disabled"); // not getting
But "disabledBoxes" not getting result from checkBoxes.
In case if I do like this:
var checkedBoxes = $(".locale-container .panel ul li").find("input:checkbox"),
disabledBoxes = $(".locale-container .panel ul li").find("input:checkbox:disabled"); // it works
so how can i filter or get the appropriate checkboxes from stored variable?
Thanks in advance