PHP Coding Solutions
php coding solution, form validation
Thursday, April 24, 2014
get child element value in javascript
example:
<p id="note_dimension" class="note"><span>TEst3</span></p>
var trextValue=document.getElementById(note_dimension).childNodes[0].innerHTML;
alert(trextValue);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment