W
white lightning
I have the following function:
function overwrite(div_id, image_id) {
if (document.getElementById(div_id).style.display=="none") {
document.getElementById("spex").innerHTML = "<a
href="+"javascriptverwrite('sp', 'img1')"+">Close</a>";
}
}
is the syntax correct?
in the browser, the URL for "Close" only shows half of it, something
like this: javascriptverwrite('sp',
can someone help me?
thanks!
function overwrite(div_id, image_id) {
if (document.getElementById(div_id).style.display=="none") {
document.getElementById("spex").innerHTML = "<a
href="+"javascriptverwrite('sp', 'img1')"+">Close</a>";
}
}
is the syntax correct?
in the browser, the URL for "Close" only shows half of it, something
like this: javascriptverwrite('sp',
can someone help me?
thanks!