SharePoint - how to get webpart ID, and use this in a conditional statement

Asked By jc dls on 12-Feb-13 05:35 AM
Before it triggers my jquery code, i want to check first if a particular webpart is existing on the page. How to do this?