[jQuery] Checking value
[jQuery] Checking value
Hi Experts,
I am trying to conditionally test what the value of href is equal to.
like this;
if($(this).find('a').attr("href")=="map.html"){
alert("yes");
}
This doesn't work. Do anyone knows what i am doing wrong.
Psuedocode please.