javascript - Reload XML data without reload page -


i xml data mysql.. , change save again mysql. want see changed data without reload page. how can ?

i data that:

        downloadurl("gxml.php", function(doc) {         var xmldoc = xmlparse(doc);          var markers = xmldoc.documentelement.getelementsbytagname("marker"); 

i`v tried calling function that. didnt work..

        function reloaddata()         {          downloadurl("gxml.php", function(doc));         } 

thanks..

maybe try using ajax. pass values php ajax via javascript. , in ajax retrieve xml data ever want it. , give response. use

success: function(){    //append html. } 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -