Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: "../AjaxController.php",
- type: "post",
- async: false,
- data : {
- api: "ExcursionsApi",
- func: "ExcursionsSearch",
- action: <?php echo '"' . $_SERVER['REQUEST_URI'] . '"' ?>,
- phpsessid: <?php echo '"' . $_COOKIE['phpsessid'] . '"'; ?>,
- token: "test",
- excursionId : 2
- }
- }).done(function(resultJson) {
- returnJson = JSON.parse(resultJson);
- alert(resultJson);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement