Validate button click and element with jQuery.validate

Validate button click and element with jQuery.validate

Hi,

How can I validate if a button was clicked and if an element exist in the DOM using jQuery.validate() ?

Thanks