/ Published in: JavaScript
this function displays the given page with the given query string in the given div usage: <a href="javascript:>View All Categories
use this function with the getHTTPObject() function
Expand |
Embed | Plain Text
var http = getHTTPObject(); function displayHTML(page, queryStr, divID) { var targ = page + "?" + queryStr + "&ms=" + new Date().getTime(); http.open('GET',targ,false); http.send(null); var strHTML = http.responseText; document.getElementById(divID).innerHTML = strHTML; }
You need to login to post a comment.
