P
prash.marne
Hello,
I have a simple form
<form method="POST">
<select name="activity">
<option value="0">None</option>
<option value="M" onclick="popup_onclick()">Select
Multiple</option>
<option value="1">Kayaking</option>
<option value="2">Rafting</option>
<option value="3">Snowboarding & Skiing</option>
<option value="4">Hiking</option>
<option value="5">Trekking</option>
</select>
</form>
& my javascript code is
function popup_onclick(){
my_window = window.open
("",'windowname','height=200,width=200');
my_window.document.write("hellow world");
my_window.document.close();
}
When a user views the form it shows a dropdown menu for activities &
when she/he clicks on 'Select Multiple' option a new window should pop
up with words written 'hellow world' in it .
This works fine in Firefox 1.5 but it doesn't work in IE (Internet
Explorer) 6.
Anyone have any tips ? Can this be done in IE 6 ? Thanks!
Prashant Marne
I have a simple form
<form method="POST">
<select name="activity">
<option value="0">None</option>
<option value="M" onclick="popup_onclick()">Select
Multiple</option>
<option value="1">Kayaking</option>
<option value="2">Rafting</option>
<option value="3">Snowboarding & Skiing</option>
<option value="4">Hiking</option>
<option value="5">Trekking</option>
</select>
</form>
& my javascript code is
function popup_onclick(){
my_window = window.open
("",'windowname','height=200,width=200');
my_window.document.write("hellow world");
my_window.document.close();
}
When a user views the form it shows a dropdown menu for activities &
when she/he clicks on 'Select Multiple' option a new window should pop
up with words written 'hellow world' in it .
This works fine in Firefox 1.5 but it doesn't work in IE (Internet
Explorer) 6.
Anyone have any tips ? Can this be done in IE 6 ? Thanks!
Prashant Marne