Updating a web page without refreshing




















Well Said. Thanks Arun. Posted Oct am vivektiwari Add your solution here. OK Paste as. Treat my content as plain text, not as HTML.

Existing Members Sign in to your account. This email is in use. Do you need your password? Submit your solution! When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.

If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome. Don't tell someone to read the manual.

Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid. Related Questions. For example , i tryed to print to the website an uptime counter , and a name tagged to an rfid , i have function getData for the name and the uptime too. How can i solve this problem? Hello, i am having some troubles on my code. You must be logged in to post a comment. ESP Ajax web page update without refresh. What is AJAX?

AJAX is a technique for creating fast and dynamic web pages. This is display page server. Log in to Reply. The site also works properly without javascript. If you need to re-load a portion of a page, without reloading the entire page, I would highly recommend using jQuery. Load :. With jQuery. For example:. However, if you need to reload all the content from another page, and change the URL to a different page, then I would just recommend linking to that page. Theres no performance benefit from doing this through jQuery.

There is, and it's called PushState. It's a newer technology which most of the newest browsers internet explorer excluded :P support. Basicly it alters the adressbar through javascript. I might seem as nothing but it's really neat! Usually you'd do this through the hash www. The latest project that I've used this technology I've used a js plugin called History. That makes all browsers rather happy. EDIT: Just a side note on that example of yours. It's quite smartly made : It loads new pages through ajax and gets it's HTML, but if you browse that page again it redisplay the fetched results so no unneeded ajax calls are being made.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.



0コメント

  • 1000 / 1000