I am trying to get to see if a specific label id HTML is '*gender' is visible and if it is hide another ID located on the parent to the iframe.

Please advise:

Here is my snippet of code.

Code:
            var TabLink = ($('#registerIframeArtist').contents().find('#jsnamemsg').html() == '*Gender');
			//alert(TabLink);
			if(TabLink){
			 $('#tab-holder').hide();
			}