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 Nikhil Mangal

HTML

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<input type="button" id="btnSubmit" value="Submit" />

JavaScript

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