Tuesday, 2 May 2017

8.if no data passing through ajax

var formURL    = '<?php echo $this->baseUrl(); ?>' + '/user/index/gettipdismisstime';

jQuery.ajax( {
url : formURL,
type: "POST",
dataType: 'json',
success: function (data) {

},
error: function(e){
  alert(data);
}
    });

No comments:

Post a Comment