Hi,

Yeah, I'm using that specific code and it works great. This is actually how it's set up right now:

        $(document).ready(function(){
                    $("#videos").submit(function(){
                                
$("#videos").ajaxForm({target:"div#msg",resetForm:true});
                                return false;
                    });
                });

If I don't supply the return false; the form sends me to the php page to process the data. (Is it because I have a method="post" in the form?)

So I had to put the return false; so that it gets submitted through the ajaxForm(). But when I have the return false; I have to click the button twice, or hit enter twice.

thanks,

Gaston


On Feb 7, 2007, at 7:06 PM, Mike Alsup wrote:

Now I'm noticing another strange behavior. The form requires me to
click the button twice, or hit Enter twice to work. Anyone seen that
before?

That shouldn't happen with the previous code I mentioned:

$("#videos").ajaxForm( { target: '#msg' } );

Did you try it with that.code?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to