How to get values of a tag in java script? [Resolved]

Posted by Allemahesh under JavaScript on 8/26/2013 | Points: 10 | Views : 1689 | Status : [Member] [MVP] | Replies : 1
Hi, I want to read the values of a tag using JavaScript. Any idea?
Example: <a hre="www.dotnetfundata.ocm">dotnetfundata</a>
OutPut will be: dotnetfundata
Any Help


Posted by: Bandi on: 8/27/2013 [Member] [MVP] Platinum | Points: 25

You can either use element/tag Id( using getElementById method) or name (using getElementsByName method) to get the value of HTML tag....

Mark This Response as Answer

Allemahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response