Skip to content

Instantly share code, notes, and snippets.

@djbriane
Created March 1, 2012 18:22
Show Gist options
  • Save djbriane/1951915 to your computer and use it in GitHub Desktop.
Save djbriane/1951915 to your computer and use it in GitHub Desktop.
Ajax Logging Example
function authAjax() {
var params = $("#loginForm").serialize();
$.post("/api/j_spring_security_check", params,
function(data) {
console.log('data loaded:');
console.log(data);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment