I am looking for a way to search for an ID on the current clicked element.
Example:
$('.t_element').click(function(){
if(!$('.t_element [id*=meta]')) {
transModal($(this));
translateText();
}
});
I basically need to say if the clicked element id does not contain the word "meta" then continue with the script, but this is not working.
Sorry if this is confusing.
Thanks! Dennis
Working Example:
if (!$(this).is('[id*=meta]')) {
transModal($(this));
translateText();
}