On Sep 6, 2006, at 13:32 , kain wrote:

> I just want to ask what's the equivalent code of updating a div with
> the results of a form action when hitting a submit button of jquery
> instead of scriptaculous and prototype.

I think you're going to want to use the forms plugin for this.

On this page:
   http://jquery.com/plugins
you'll want Forms Plugin (with AJAX).

With that included, you can simply do:
   $('#id-of-my-form').ajaxSubmit('#id-of-my-div');
and the form will automagically populate the div with its results.

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

Reply via email to