Mike that's great! lol

It keeps getting easier! : D

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?

Thanks everyone,

Gaston

On Feb 7, 2007, at 5:17 PM, Mike Alsup wrote:

>> This is working for me now. thanks for the help. This is what I'm  
>> doing now:
>>
>> $(document).ready(function(){
>>      $("#videos").submit(function(){
>>
>>  $("#videos").ajaxForm(function(data){
>>  //alert("Form submit succeded! Server returned "+data);
>>  $("div#msg").html(data);
>>  });
>>  return false;
>>
>>      });
>>  });
>
>
> Gaston,
>
> If you're going to use the form plugin then all you need to do is  
> this:
>
> $("#videos").ajaxForm( { target: '#msg' } );
>
> You don't need to bind the submit event.  The plugin does all that  
> for you.
>
> Mike
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


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

Reply via email to