Lee
Lee

Reputation: 1280

JQuery FadeOut not working correctly 1 way but is another

I have the following code here at

http://forum.castoff.net/menu.php

When i click the little x button it fades out correctly, but when i click the send button it just disappears without fade... even though it runs the same code..

HELP!!

Thanks in Advance

Lee

Upvotes: 0

Views: 119

Answers (1)

benhowdle89
benhowdle89

Reputation: 37464

It's because you are submitting the form.

Add return false; to your submit trigger :) underneath all the post code!

Upvotes: 2

Related Questions