<script src="/js/jquery.js">


			$( document ).ready(function() { 

				$("#btn").click(function( event ) {
				      url: "/xxx.htm",
				      type: "get",				  
				       dataType: 'json',    
				       data: "",
				      success: function(json){				          
				      error:function(request, status, error){
				          alert("http code "+ status  + "\n" + error + "\n" +  request.responseText);				          


		<input type="button" id = "btn" value="Click to Show your name"/>

		<label id="lbl"></label>


Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.