snowboardr
Programmer
I can't seem to get layer1 to show/hide
document.getElementById('Layer1').style.display="";
Do you got a million? www.gotamillion.com/?r=T
document.getElementById('Layer1').style.display="";
Code:
var intRow = null;
var LoadPOSTHTMLHttp = null;
function LoadPOSTHtml(_intRow,TopicName) {
intRow = _intRow;
document.getElementById('Layer1').style.display="";
LoadPOSTHTMLHttp = createRequestObject();
var url2="/ajax/sub_topics.asp?id=" + intRow + "&topic=" + TopicName
LoadPOSTHTMLHttp.open('GET', url2, true);
LoadPOSTHTMLHttp.onreadystatechange = getLoadPOSTHTMLHttpResponse;
LoadPOSTHTMLHttp.send('');
}
function getLoadPOSTHTMLHttpResponse() {
if (LoadPOSTHTMLHttp != null)
if (LoadPOSTHTMLHttp.readyState == 4)
if (LoadPOSTHTMLHttp.status == 200)
document.getElementById('viewsubtopics'+intRow).innerHTML = LoadPOSTHTMLHttp.responseText;
document.getElementById('Layer1').style.display="none";
}
Do you got a million? www.gotamillion.com/?r=T