basically what I want this link to do is check to see if the src of a iframe within the website is equal to a given string and do something according to that. I just don't know the correct syntax for accessing information within an Iframe.
I know the overall syntax will look a little like this
<?=$page == "home" ? "class='active'" : ""?>
but I just dont know how to access the src of the iframe.
the iframe has the id "content" if that has any impact. I was having a hard time finding the right wording for what I want this to do so google searches were pretty ineffective for me. If someone could shed some light or just point me to the link i probably overlooked that would be awesome