Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#system-form").submit(function (e) {
- $.ajax({
- type: "GET",
- url: "myurl",
- data: "User.Username=" + localStorage.getItem("guid") + "&User.Password=" + localStorage.getItem("password") + "&User.SecUser=" + localStorage.getItem("secUser") + "&ClientAppID=" + localStorage.getItem("ClientAppId") +"&"+ $(this).serialize(),
- })
- .done(function(data) {
- //parse data
- })
- .fail(function (xhr, textStatus, error) {
- console.log(JSON.stringify(xhr.responseText));
- });
- e.preventDefault();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement