View Single Post
Old 11-28-2009, 06:28 PM   PM User | #2
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
Code:
$("loginForm").submit(function () {
That's not a good selector, I think. It should probably look something like:
Code:
$("form [name='loginForm']").submit(function () {
That's for problem #2. However, if it's correct, then the submit handler should have never fired on form submission. That means the backside should never have been called in the first place and no data would have been passed.

Try the selector change and see what happens.
__________________
Are you a Help Vampire?
tomws is offline   Reply With Quote
Users who have thanked tomws for this post:
Bobafart (11-28-2009)