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

Posted by Allemahesh under JavaScript on 8/26/2013 | Points: 10 | Views : 897 | Status : [Member] [MVP] | Replies : 2
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




Responses

Posted by: Satyapriyanayak on: 8/26/2013 [Member] [MVP] Silver | Points: 50

Up
0
Down

Resolved
http://www.codeproject.com/Questions/257861/How-to-get-value-of-HTML-tag-in-JAVAscript

If this post helps you mark it as answer
Thanks

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

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

Up
0
Down
You can either use element/tag Id( using getElementById method) or name (using getElementsByName method) to get the value of HTML tag....
http://stackoverflow.com/questions/14712135/get-html-input-tag-value

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

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

Login to post response