E
EnjoyNews
A simple question probably...
With this script:
<script>
function select_onchange(obj)
{
window.open(obj.value);
}
</script>
I open a website in a blank window in a select form like this.
<select name="something" onchange="select_onchange(this)">
<option value="www.something.dk">something</option>
It works fine, but when I click on it the browser ask me to aprove popups
from this website...
I do know why it does that, but isn't there a way to open a website in a new
browser windows from a select option without the browser seeing it as a
popup ?
With this script:
<script>
function select_onchange(obj)
{
window.open(obj.value);
}
</script>
I open a website in a blank window in a select form like this.
<select name="something" onchange="select_onchange(this)">
<option value="www.something.dk">something</option>
It works fine, but when I click on it the browser ask me to aprove popups
from this website...
I do know why it does that, but isn't there a way to open a website in a new
browser windows from a select option without the browser seeing it as a
popup ?