Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access text inside a button from js

document.getElementById("myButton2").childNodes[0].nodeValue=
   "New Button Text using childNodes";
Source by www.permadi.com #
 
PREVIOUS NEXT
Tagged: #access #text #button #js
ADD COMMENT
Topic
Name
3+5 =