I noticed the following bug when using $(selector).children().attr(\"disabled\", \"disabled\") where the children happened to contain a
$(selector).children().attr(\"disabled\", \"disabled\")
There is no disabled attribute for the div element. So it should have no effect.
disabled
div