Hi,
I have a strange pop-up problem. First let me display the code,
[CODE]
function addLink(){
document.getElementById(‘TESTME’).innerHTML= “<br><span id=me><a href=# onclick=”window.open(‘http://www.yahoo.com’,’name’,’height=255,width=250,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no’)”>TEST LINK</a></span>”;
}
This code works perfect in an empty page with <div id=”TESTME”>…</div>
But when I copy/paste the same code in to actual site of mine(without changing even a bit), it doesn’t work at all. 😡
I mean in my actual site, I get the link and everything setted up as I wanted but it doesn’t open a pop-up.When I change it to an ordinary link with <a href=.. target=_blank>…. </a>, It again works fine.
But I want just an ordinary pop-up to be displayed ? which I couldn’t do.
Any idea or suggestion!!!?
Thanks