2010年7月4日星期日

Re: [fw-mvc] How to make Zend Form post submitting Ajaxy

Zend Form knows how to handle ajax submit, look at the source code,
don't remember the method name, but it is there for 100%

On Sun, Jul 4, 2010 at 12:59 PM, Abraham Block <atblock@gmail.com> wrote:
> http://jquery.malsup.com/form/
>
> On Sat, Jul 3, 2010 at 2:27 PM, Enkhbilguun Erdenetsogt
> <enkhbilguun@beregu.com> wrote:
>>
>> Hello,
>>
>> I'm building an admin interface, which has jQuery ajaxLink() navigation.
>> If I hit some creating new content link, navigation will show a create form
>> to content area of the layout.
>> AjaxLink() perfectly retrieves the form, but I don't understand how to
>> make the submit button to ajax button.
>>
>> I need achieve when I press Save (submit) button, the form automatically
>> validates the form with Zend_Form, saves its values to the DB and give back
>> the form if it was unsuccessful or forwards to the news list page if it was
>> successful without refreshing the page because whole navigation are in
>> ajaxlink so that every action can only be printed on some #content div.
>>
>>
>> Thank you very much in advance.
>>
>>
>> ---
>> Enkhbilguun Erdenetsogt
>
>

没有评论: