Monday, October 20, 2014

jquery Ajax call

Posted by Gnani Palepu  |  No comments


 if you want more related search please click here  
 please help to other  
 http://scriptquery.blogspot.in/  

 $(document).ready(function () {   
 functionname(); /*page load*/   
 });  
 /*functioncalling here*/  
 function functionname() {  
   var request = {};  
   request.empID = $.session.get("empID");  
   $.ajax({  
     type: Http_Post,  
     url: navigation url,  
     contentType: "application/json; charset=utf-8",  
     dataType: "json",  
     data: '{request: ' + JSON.stringify(request) + '}',  
     success: onItemsSuccess,  
     error: onItemsError  
   });  
 }  
 /*On menu items success call*/  
 function onItemsSuccess(response) {  
   Alert("Success");  
 }  

 if you want more related search please click here  
 please help to other  
 http://scriptquery.blogspot.in/  


6:36 AM Share:

0 comments:

Get updates in your email box
Complete the form below, and we'll send you the best coupons.

Deliver via FeedBurner
Proudly Powered by Blogger.
back to top