Using jQuery mobile to update DOM after form POST?

I recommend reading about progressive enhancement which is a main idea with which jQuery Mobile's architecture was created. The answer from the server should be a new HTML document with correct content so that it works with no-JS browsers as well. JQuery Mobile is there to make it come in via AJAX.

I recommend reading about progressive enhancement which is a main idea with which jQuery Mobile's architecture was created. The answer from the server should be a new HTML document with correct content so that it works with no-JS browsers as well. JQuery Mobile is there to make it come in via AJAX.

If you want to break this rule you have to post the data yourself like you always did with jQuery's .post().

I'm confused by that type of architectural decision for a library that targets mobile browsers. It's basically saying that instead of sending back {name: "Arch Stanton"} that you should send back an entirely new page in order to display a minor update. – Will Merydith May 31 at 14:54 It's basically saying that instead of supporting only major smartphones your app can work on everything that is capable of displaying HTML.

Everything else is an enhancement. Read about it, I didn't like it at first too and I don't always stick to it. Nontheless, they do.

But loading json yourself is about 4 lines long, so why not... Just search the stackoverflow for my answers to problems with JQM and AJAX. .page() is the key. – naugtur May 31 at 18:18 OK thanks, I'll look at your other posts.

– Will Merydith May 31 at 19:32.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions