Advertisement
SSTWebmaster

$.ajax() post

Nov 29th, 2011
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.43 KB | None | 0 0
  1. $("#selSvcPkgBtn").live('click', function(event){
  2.     $.ajax({
  3.         type: 'post',
  4.         url: 'index.cfm?cfaction=DepartureReport.CreateNewCheckFormVars',
  5.         data: $('#frm_SvcPkgSel').serialize(),
  6.         cache: false,
  7.         success: function(){
  8.             alert(data);
  9.     /*$.get('index.cfm?cfaction=DepartureReport.CreateNewCheckFormVars',function(data){
  10.                         $('#s4').html(data);
  11.                     });*/
  12.                 },
  13.                 error: function(){
  14.                     alert('data');
  15.                 }
  16.         })
  17.     });
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement