How to change the button text using jquery tháng 12 30, 2015 / in JQuery / with No comments / 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... Output:- Advertisement Share This: Facebook Twitter Google+ Stumble Digg Gửi email bài đăng nàyBlogThis!Chia sẻ lên XChia sẻ lên Facebook
0 nhận xét:
Đăng nhận xét