i understand the workflow, but my problem is :
1. login form is injected into modal window -> jquery adds ajax functionality to form , how to adds the ajax functionality to the form? Can you tell me how to do this. Is adding this script to ajaxLoginForm.ss will do it ?
jQuery('#MemberLoginForm_LoginForm' ).ajaxForm( function()
// here comes the callback
I never used this ajaxForm function, so still wondering what that function do.
2. Form submit -> sends ajax request to server -> you fetch the response in the callback -> show result (form or msg)
Ok so here, i know a bit about jquery, do i still need to check the click even of the login button and send the parameter needed for the login process, or the ajaxForm above already handle this ?
So all i need is, if you can show me login process, with ajax functionality, it will be good enough.. So the modalbox etc, that's fancier way, but first i need to get the login process using ajax done first.
Say on this page /Security/login , can you tell me how to make it process using ajax, and when its done, just simply redirect it to the homepage.
Also can you please explain to mean what you mean by inline js ?