How to change the button text using jquery

     val() is used to change the button text value, in the following example we are used two buttons and change its text dynamically when pressing on the button.
Same Example in JavaScript Click Here

 $("#btnid").val("Second Button");




Example Program:- (Editor)


Editor is Loading...

Advertisement

Nhận xét

Bài đăng phổ biến từ blog này

Tourist places in kk district:1) Thiruvalluvar statue

Variable in CSS

How to set multiple images in a loop javascript?