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

0 nhận xét:

Đăng nhận xét