Hello, i have the following code:
Code:
<a href="javascript:window.open('doc3.htm', '', 'width=100,height=200,scrollbars=yes,resizable=yes');">
the above code surely does open the new window like the way i want, but in the original window(where the above code is) it loads some page with the text [object window] and in the addressbar with the above code(javascript
:window.open('doc3.htm', '', 'width=100,height=200,scrollbars=yes,resizable=yes ').
can anyone please tell me why this is so, and how i can solve it???
i want the window to be completely closed except for the newly opened one whic for the above code would be 'doc3.htm'
thanks!