mercredi 29 novembre 2017

if statement checks destination link [on hold]

Is there a way to have either PHP or Javascript check the destination of a path then assign a specific html?

I'm looking for a solution similar to this


<a href="target.com" target="_blank">target</a>

<a href="nottarget.com">nottarget</a>


But I don't know how to check the button destination path.

Aucun commentaire:

Enregistrer un commentaire