...

View Full Version : Refreshing Certain Areas of an HTML Document



By@
09-24-2005, 08:29 AM
Is it possible to refresh certain areas of a document when a button is pressed.

Like input fields between some div or p tags?

felgall
09-24-2005, 11:56 PM
It is possible using AJAX (Asynchronous Javascript and XML) which requires both some Javascript attached to the button to make the refresh request and some server side scripting to deliver the new content. It would only work on those browsers that support the appropriate Javascript commands that allow the servr side call.

Alternatively you could use an iframe to contain the refreshable content as a separate page.

By@
09-25-2005, 08:33 AM
Hey, thanks for the reply, felgall.

I've had bit of a look at Ajax, but dont really see how it works.
(I dont know too much about JavaScript unfortunately.)

Can you possibly explain it to me or post some code?
Cheers!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum