</table>
<div class="dialog" id="dialogBox" style="display: none;">
- <div class="diaTitle" id="dialogTitle">Title</div>
+ <div class="diaTitle" id="dialogTitle"></div>
<div class="scroll" id="dialogContent"></div>
</div>
</body>
if(stat == 200)
{
debug(req.responseText);
- showDialog("Library",req.responseText);
+ showDialog("<H2>Library</H2>",req.responseText);
}
}
};
}
function showDialog(title,content) {
-
dialogTitle.innerHTML = title;
dialogContent.innerHTML = content;
dialogBox.style.display = "block";