Jump to content

Simple question (I think)


galvin

Recommended Posts

In javascript referencing an <a> tag, you can have code that ends in ".value" to reference the VALUE property of that A tag (i.e. "1" in the link below).

 

But what do you use for the text that is in between the A tags (i.e. "Click here" in the example code below)..

<a href="link.com" value="1">Click here</a>

Link to comment
https://forums.phpfreaks.com/topic/196729-simple-question-i-think/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.