I just found something that helps me a lot, it's not just a jQuery
property, but a direct property of HTML-elements:

.tagName

So my above workarounds would work as follows.

if (self.tagName == 'IMG') { // --- image ---
        // do something
}

if (self.tagName == 'SELECT') { // --- drop down list ---
        // do something

}

So i am sure that i will find matching tag names for all the other
elements that have to be considered...

Best regards,
CMS4j

Reply via email to