Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:Jalenack/Using AJAX

This article is a ROUGH DRAFT. The author is still working on this document, so please do not edit this without the author's permission. The content within this article may not yet be verified or valid. This information is subject to change.

AJAX, or Asynchronous JavaScript + XML is a method of transmitting data to a browser without refreshing the page.

....Intro....

This topic is advanced.

Proceed with Caution

A common mistake developers make is that AJAX will automatically make their programs better. This is not always the case. Users are usually surprised to see new data appear instantly, and will often disregard or distrust it. It can also cause problems with people using old browsers or with javascript turned off. There are many potential usability and accessibility problems associated with the use of AJAX. In this article, we'll hope to address these problems.

WordPress and AJAX

Bleah

Writing a script

Start without javascript

duh

Add AJAX functionality

figure it out

Putting everything together

yeah, do that

Resources

AJAX Resources

Wordpress Plugins using AJAX