How to change button text onclick jquery

Jquery <strong>Tutorial for chaning button text after clicked</strong>. Use this simple code and change your button text.

by akmiecik

HTML

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<div id="b1">
<input id="ab1" type="button" value="Lets change this1" />
</div>

JavaScript

$(document).ready(function(e) {
        $('#ab1').click(function(){
				$(this).val("Button Clicked");
			});
    });