Friday, December 8, 2017

How do I test whether an element exists in jQuery

$( "#myDiv" ).length

No comments:

Post a Comment