PDA

View Full Version : Post form/action with noajax



jthevenoux
8 Jun 2009, 1:01 AM
Hello,

I'm developping an application and i don't understand how to do Action (Get, Post, Put and Delete) with no ajax.

i have a list page with user, when i click on "new" i go to a new page (GET)
a new page with a form appear
and when i valide it, i want a POST request and go to my list page (except if there's error, i must refresh page with error message)

How can i do it ?
thanks
PS : sorry for my poor english

Animal
8 Jun 2009, 1:19 AM
http://extjs.com/deploy/ext-3.0-rc2/docs/?class=Ext.form.BasicForm&member=standardSubmit

jthevenoux
8 Jun 2009, 2:39 AM
OK,

i know this options, but how can i do a HTML DELETE, a HTML PUT without AJAX ?

isn't it possible ??

Animal
8 Jun 2009, 2:41 AM
So you just want to use plain old HTML?

Do it in the plain old HTML way.