View Full Version : Refresh a DIV using Ajax ?
priyakochin
Jul 6th 2008, 1:50 am
I am having a DIV which only need to get refreshed if an error occurs in php code.Can anyone plz help me ?
wing
Jul 6th 2008, 9:08 am
Take a look at Xajax (http://www.xajaxproject.org/) or sajax (http://absinth.modernmethod.com/sajax/index.phtml), it will give you an overview of the general idea behind how this is done. There are some other ajax/php libs out there. I have used one called TinyAjax in the past which was extremely simple to use, but the TinyAjax site is no longer online :(
priyakochin
Jul 6th 2008, 10:34 am
Anyone have a script ?
I want to study ajax.
jeffjustice
Jul 8th 2008, 1:40 am
There are some tutorials on codervods.com/Default.aspx?mode=default&category=AJAX&days=All¤tIndex=0 that might help you.
ayaw
Jul 8th 2008, 4:20 am
are you looking for getElementbyId("div-id").innerHTML = ""
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.