Skip to content Skip to sidebar Skip to footer

change the button text using JavaScript

     In the following example will help you to dynamically change the button text using javascript.
Same Example in jQuery Click Here


Example

 var b1=document.getElementById('btn1');
 b1.value="First Button";





Example Program:- (Editor)


Editor is Loading...

Advertisement

Post a Comment for "change the button text using JavaScript"