I noticed the following bug when using $(selector).children().attr(\"disabled\", \"disabled\") where the children happened to contain a
However, the new HTML5 specification allows for disabled attribute according to the HTML specification. The expected behavior is to prevent your markup from validating correctly.
to have a disabled attribute, which disables any nested input fields. It's not widely supported yet though, so you won't be able to rely on this feature for a while.