Skip to Content
0
Former Member
Apr 28, 2014 at 11:02 AM

Issue with window.open java script function in HTML

482 Views

Hi Folks,

I am facing an issue while calling window.open function in html file of the view.

I wish to open a web URL in browser on clicking hyperlink. For this requirement i am calling the above mentioned java script function window.open in html file associated to the view.

This links works absolutely fine for the first time , but does't works when i click the hyper link again 😔

Can any java script expert help me in here ?

I am using following piece of code, this is just as an example , i am using a dynamic url instead of google.com .

<script type="text/javascript">
window.open ("http://google.com/",'mywindow','menubar=1,resizable=1,width=350,height=250,scrollbars=no,toolbar=no,directories=no,location=no,status=no"');
</script>

Thanks in Advance

Sheetanshu