/ * * Definition and Usage:
* IS () method for a user to view the selected element is equipped with a selector. * Remarks: * The parent element tag judgment <p> tag whether the <div> tag. * If you are prompted! * / IF ($ ( "p") parent () IS ( "div.". )) { Alert ( "parent element is p div" ); }