Detail Focused
Monday, October 29, 2012
Determining whether JQuery has not found any element
if ($("#id").length) {
//at least one element was found
} else {
//no elements found
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment