29
rated 0 times
[
34]
[
5]
/ answers: 1 / hits: 43909
/ 12 Years ago, fri, october 19, 2012, 12:00:00
I know jQuery is easy to get the value but how can i use Javascript only to get the value?
<input type=text class=num /> <a href=# onclick=alert(document.getElementsByClassName('num').value);> click </a>
thanks for help
More From » javascript