Posted By

envane21 on 02/26/16


Tagged

text button on answer wrong


Versions (?)

Button text on wrong answer


 / Published in: JavaScript
 

change the button text on wrong answer

  1. $('#wrongAns').mouseup(function() {
  2. $(this).text("Try again!");
  3. setTimeout(function(){
  4. $("#wrongAns").text("South-Korea");
  5. }, 1000);
  6. });

Report this snippet  

You need to login to post a comment.