Hi.
I'm using a small piece of Javascript to open a URL in a new window when a user selects a value in a combobox:
and then:
This is working fine in Firefox and Safari, but does nothing in IE. Any ideas please guys?
Thanks very much
I'm using a small piece of Javascript to open a URL in a new window when a user selects a value in a combobox:
Code:
<head>
<script type="text/javascript">
function urlopen(target)
{
window.open(target)
}
</script>
</head>
and then:
Code:
<body>
<form name="test"><select name="test"><option VALUE="1" onclick="urlopen('[URL unfurl="true"]http://www.google.com')">Google</option><option[/URL] value="2" onclick="urlopen('[URL unfurl="true"]http://www.yahoo.com')">Yahoo</option>"></select></form>[/URL]
</body>
This is working fine in Firefox and Safari, but does nothing in IE. Any ideas please guys?
Thanks very much