Sign in to follow this  
jen6677

[web] how do you save content without doing a postback?

Recommended Posts

Ive noticed a few more sites that dynamically save your information without doing a post back. For example, when using Gmail you can add a "label" to a message, and this information is saved without posting back. Any insight on how that is done?

Share this post


Link to post
Share on other sites
You may find this article interesting. It's about how sites like gmail use javascript with the XML HTTP request object to work their magic. It basically lets javascript call the server to retrieve/post data; meaning a callback is made (of sorts), but you just don't know about it. Pretty clever if you ask me. I might look into using it for some stuff. Be warned though, I don't think all browsers support it. GMail is unusable in Konqueror for example, but the main browsers (FF/Mozilla/Opera/IE) can take it on the chin (albeit with slighly different syntax).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this