HTML <OPTION SELECTED> Doesn't work in Vista machine
OK - This is a strange problem and I've finally narrowed it down to Vista.
On my website I have state and country drop-down menues which do what they
are supposed to do on an XP machine. However on my Vista Ultimate machine
the <OPTION SELECTED> will select entirely different items when loaded. If
I run the following HTML on an XP machine it will correctly select Canada
and Washington as defaults in the 2 drop-down menus. However, when run on a
Vista machine it selects United States and Oregon . This is happening on all
of the screens in the web site where there are drop-down menus.
<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head><title>HTML Drop-Down Test</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Description" CONTENT="Internet based entry system for taking
horse show entries.">
<META NAME="Keywords" CONTENT="internet, online, horse show, entries">
<script language="JavaScript">
function viewshow(){
var showname
var showid
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
Hi Vic,
Are you using IE 7 on both machines? While I'm
probably not going to be any help to you, I imgine
that those who might would want to know this.
-- Larry Maturo
"vic" <vic@showsec.com> wrote in message
news:1E659D73-8664-4C63-89EC-03A606368482@microsoft.com...
> OK - This is a strange problem and I've finally narrowed it down to Vista.
> On my website I have state and country drop-down menues which do what they
> are supposed to do on an XP machine. However on my Vista Ultimate machine
> the <OPTION SELECTED> will select entirely different items when loaded.
> If I run the following HTML on an XP machine it will correctly select
> Canada and Washington as defaults in the 2 drop-down menus. However, when
> run on a Vista machine it selects United States and Oregon . This is
> happening on all of the screens in the web site where there are drop-down
> menus.
>
> This seems to be a glaring bug in Vista!
>
>
> Vic
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
>
> <HTML>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <head><title>HTML Drop-Down Test</title>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Description" CONTENT="Internet based entry system for taking
> horse show entries.">
> <META NAME="Keywords" CONTENT="internet, online, horse show, entries">
>
>
> <script language="JavaScript">
> function viewshow(){
> var showname
> var showid
>
> showname = document.main.show.value;
> //alert(showname);
> splitter = /[ -\/.]/;
>
> showid = showname.split(splitter,4);
> //alert (showid);
> //alert (components[1]);
>
> //var where_is_mytool="home/mytool/mytool.cgi";
> //var mytool_array=where_is_mytool.split("/");
> //alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
>
> location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
> }
>
> </script>
>
> </head>
>
>
> <body onresize="window.location.href = window.location.href">
>
>
> <table align=center border="2" width="750" cellpadding="0"
> cellspacing="0">
> <tr>
> <td>
> <table align=center border="2" cellpadding="0" cellspacing="0"
> width="450" >
> <tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to
> Showmyhorse.com</b> </tr>
>
> <tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
> method='POST'>
> </td></tr>
>
> <tr><td class='td2' align='left'> <b>Country: </b>
> <select name='country' onchange='submit()'>
> <OPTION SELECTED>Canada
> <OPTION>Mexico
> <OPTION>United States
> </select>
> </td></tr>
>
> <tr>
> <td class='td2' align='left'><b>State/Province:
>
> <select name='ShowState' onchange='submit()'>
> <OPTION>Alaska
> <OPTION>Oregon
> <OPTION>Virginia
> <OPTION SELECTED>Washington
> </select>
>
> </td></tr>
>
> <tr><td class='td2' align='center'><b>Shows available for online entry:
> <select name='show' size='20' onchange='viewshow()'>
> <option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
> Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
> Spectacular - Spokane, WA - 2007-09-29</option>
> <option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse
> Clue - Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells
> Canyon Paint Horse Clue - Walla Walla, WA - 2007-07-21</option>
> <option value="WA - 12427 - Paints Show - Washington State Paint Horse
> Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
> State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
> <option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
> Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking
> Horse Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
> </select>
>
> </td></tr>
>
> <tr><td class="td1">
> <input type="submit" name="allshows" value="Display Completed
> Shows">
> <input type="submit" name="allstates" value="Display *ALL*
> Active Shows">
> </td></tr>
>
> <tr><td bgcolor="#FFAA66" align="center">
>
> Horse show software is available at <A
> HREF="http://www.showsec.com">Perfected Technology Systems</A>
>
> </td></tr>
>
> </form>
> </table>
> </table>
>
> </body></html>
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
On 6/27/2007 7:58 AM On a whim, vic pounded out on the keyboard
> OK - This is a strange problem and I've finally narrowed it down to Vista.
> On my website I have state and country drop-down menues which do what they
> are supposed to do on an XP machine. However on my Vista Ultimate machine
> the <OPTION SELECTED> will select entirely different items when loaded. If
> I run the following HTML on an XP machine it will correctly select Canada
> and Washington as defaults in the 2 drop-down menus. However, when run on a
> Vista machine it selects United States and Oregon . This is happening on all
> of the screens in the web site where there are drop-down menus.
>
> This seems to be a glaring bug in Vista!
>
>
> Vic
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
>
> <HTML>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <head><title>HTML Drop-Down Test</title>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Description" CONTENT="Internet based entry system for taking
> horse show entries.">
> <META NAME="Keywords" CONTENT="internet, online, horse show, entries">
>
>
> <script language="JavaScript">
> function viewshow(){
> var showname
> var showid
>
> showname = document.main.show.value;
> //alert(showname);
> splitter = /[ -\/.]/;
>
> showid = showname.split(splitter,4);
> //alert (showid);
> //alert (components[1]);
>
> //var where_is_mytool="home/mytool/mytool.cgi";
> //var mytool_array=where_is_mytool.split("/");
> //alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
> location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
> }
>
> </script>
>
> </head>
>
>
> <body onresize="window.location.href = window.location.href">
>
>
> <table align=center border="2" width="750" cellpadding="0" cellspacing="0">
> <tr>
> <td>
> <table align=center border="2" cellpadding="0" cellspacing="0"
> width="450" >
> <tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to Showmyhorse.com</b>
> </tr>
>
> <tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
> method='POST'>
> </td></tr>
>
> <tr><td class='td2' align='left'> <b>Country: </b>
> <select name='country' onchange='submit()'>
> <OPTION SELECTED>Canada
> <OPTION>Mexico
> <OPTION>United States
> </select>
> </td></tr>
>
> <tr>
> <td class='td2' align='left'><b>State/Province:
>
> <select name='ShowState' onchange='submit()'>
> <OPTION>Alaska
> <OPTION>Oregon
> <OPTION>Virginia
> <OPTION SELECTED>Washington
> </select>
>
> </td></tr>
>
> <tr><td class='td2' align='center'><b>Shows available for online entry:
> <select name='show' size='20' onchange='viewshow()'>
> <option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
> Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
> Spectacular - Spokane, WA - 2007-09-29</option>
> <option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse Clue -
> Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells Canyon Paint
> Horse Clue - Walla Walla, WA - 2007-07-21</option>
> <option value="WA - 12427 - Paints Show - Washington State Paint Horse
> Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
> State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
> <option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
> Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking Horse
> Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
> </select>
>
> </td></tr>
>
> <tr><td class="td1">
> <input type="submit" name="allshows" value="Display Completed
> Shows">
> <input type="submit" name="allstates" value="Display *ALL*
> Active Shows">
> </td></tr>
>
> <tr><td bgcolor="#FFAA66" align="center">
>
> Horse show software is available at <A
> HREF="http://www.showsec.com">Perfected Technology Systems</A>
>
> </td></tr>
>
> </form>
> </table>
> </table>
>
> </body></html>
>
Hi Vic,
I can't see this being any difference between XP & Vista as much as the
configuration of the browsers used in both (assuming your using IE7 on
both). Have you double checked to verify that each of the browsers are
identically configured? Did you try installing Firefox on each machine
and see if the same thing happens?
Can you provide a link so others can verify it with Vista & XP?
--
Terry R.
***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
Well, I will narrow it down even further: it does not work on IE7 on your
Vista machine
It works fine on mine- even with all of the deprecated and invalid code that
you have
"vic" <vic@showsec.com> wrote in message
news:1E659D73-8664-4C63-89EC-03A606368482@microsoft.com...
> OK - This is a strange problem and I've finally narrowed it down to Vista.
> On my website I have state and country drop-down menues which do what they
> are supposed to do on an XP machine. However on my Vista Ultimate machine
> the <OPTION SELECTED> will select entirely different items when loaded.
> If I run the following HTML on an XP machine it will correctly select
> Canada and Washington as defaults in the 2 drop-down menus. However, when
> run on a Vista machine it selects United States and Oregon . This is
> happening on all of the screens in the web site where there are drop-down
> menus.
>
> This seems to be a glaring bug in Vista!
>
>
> Vic
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
>
> <HTML>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <head><title>HTML Drop-Down Test</title>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Description" CONTENT="Internet based entry system for taking
> horse show entries.">
> <META NAME="Keywords" CONTENT="internet, online, horse show, entries">
>
>
> <script language="JavaScript">
> function viewshow(){
> var showname
> var showid
>
> showname = document.main.show.value;
> //alert(showname);
> splitter = /[ -\/.]/;
>
> showid = showname.split(splitter,4);
> //alert (showid);
> //alert (components[1]);
>
> //var where_is_mytool="home/mytool/mytool.cgi";
> //var mytool_array=where_is_mytool.split("/");
> //alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
>
> location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
> }
>
> </script>
>
> </head>
>
>
> <body onresize="window.location.href = window.location.href">
>
>
> <table align=center border="2" width="750" cellpadding="0"
> cellspacing="0">
> <tr>
> <td>
> <table align=center border="2" cellpadding="0" cellspacing="0"
> width="450" >
> <tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to
> Showmyhorse.com</b> </tr>
>
> <tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
> method='POST'>
> </td></tr>
>
> <tr><td class='td2' align='left'> <b>Country: </b>
> <select name='country' onchange='submit()'>
> <OPTION SELECTED>Canada
> <OPTION>Mexico
> <OPTION>United States
> </select>
> </td></tr>
>
> <tr>
> <td class='td2' align='left'><b>State/Province:
>
> <select name='ShowState' onchange='submit()'>
> <OPTION>Alaska
> <OPTION>Oregon
> <OPTION>Virginia
> <OPTION SELECTED>Washington
> </select>
>
> </td></tr>
>
> <tr><td class='td2' align='center'><b>Shows available for online entry:
> <select name='show' size='20' onchange='viewshow()'>
> <option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
> Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
> Spectacular - Spokane, WA - 2007-09-29</option>
> <option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse
> Clue - Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells
> Canyon Paint Horse Clue - Walla Walla, WA - 2007-07-21</option>
> <option value="WA - 12427 - Paints Show - Washington State Paint Horse
> Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
> State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
> <option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
> Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking
> Horse Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
> </select>
>
> </td></tr>
>
> <tr><td class="td1">
> <input type="submit" name="allshows" value="Display Completed
> Shows">
> <input type="submit" name="allstates" value="Display *ALL*
> Active Shows">
> </td></tr>
>
> <tr><td bgcolor="#FFAA66" align="center">
>
> Horse show software is available at <A
> HREF="http://www.showsec.com">Perfected Technology Systems</A>
>
> </td></tr>
>
> </form>
> </table>
> </table>
>
> </body></html>
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
"Terry R." <F1ComNOSPAM@pobox.com> wrote in message
news:elLfFCOuHHA.3688@TK2MSFTNGP03.phx.gbl...
> On 6/27/2007 7:58 AM On a whim, vic pounded out on the keyboard
>
>> OK - This is a strange problem and I've finally narrowed it down to
>> Vista. On my website I have state and country drop-down menues which do
>> what they are supposed to do on an XP machine. However on my Vista
>> Ultimate machine the <OPTION SELECTED> will select entirely different
>> items when loaded. If I run the following HTML on an XP machine it will
>> correctly select Canada and Washington as defaults in the 2 drop-down
>> menus. However, when run on a Vista machine it selects United States and
>> Oregon . This is happening on all of the screens in the web site where
>> there are drop-down menus.
>>
>> This seems to be a glaring bug in Vista!
>>
>>
>> Vic
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
>>
>> <HTML>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <head><title>HTML Drop-Down Test</title>
>> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
>> <META NAME="Description" CONTENT="Internet based entry system for taking
>> horse show entries.">
>> <META NAME="Keywords" CONTENT="internet, online, horse show, entries">
>>
>>
>> <script language="JavaScript">
>> function viewshow(){
>> var showname
>> var showid
>>
>> showname = document.main.show.value;
>> //alert(showname);
>> splitter = /[ -\/.]/;
>>
>> showid = showname.split(splitter,4);
>> //alert (showid);
>> //alert (components[1]);
>>
>> //var where_is_mytool="home/mytool/mytool.cgi";
>> //var mytool_array=where_is_mytool.split("/");
>> //alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
>>
>> location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
>> }
>>
>> </script>
>>
>> </head>
>>
>>
>> <body onresize="window.location.href = window.location.href">
>>
>>
>> <table align=center border="2" width="750" cellpadding="0"
>> cellspacing="0">
>> <tr>
>> <td>
>> <table align=center border="2" cellpadding="0" cellspacing="0"
>> width="450" >
>> <tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to
>> Showmyhorse.com</b> </tr>
>>
>> <tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
>> method='POST'>
>> </td></tr>
>>
>> <tr><td class='td2' align='left'> <b>Country: </b>
>> <select name='country' onchange='submit()'>
>> <OPTION SELECTED>Canada
>> <OPTION>Mexico
>> <OPTION>United States
>> </select>
>> </td></tr>
>>
>> <tr>
>> <td class='td2' align='left'><b>State/Province:
>>
>> <select name='ShowState' onchange='submit()'>
>> <OPTION>Alaska
>> <OPTION>Oregon
>> <OPTION>Virginia
>> <OPTION SELECTED>Washington
>> </select>
>>
>> </td></tr>
>>
>> <tr><td class='td2' align='center'><b>Shows available for online entry:
>> <select name='show' size='20' onchange='viewshow()'>
>> <option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
>> Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
>> Spectacular - Spokane, WA - 2007-09-29</option>
>> <option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse
>> Clue - Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells
>> Canyon Paint Horse Clue - Walla Walla, WA - 2007-07-21</option>
>> <option value="WA - 12427 - Paints Show - Washington State Paint Horse
>> Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
>> State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
>> <option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
>> Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking
>> Horse Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
>> </select>
>>
>> </td></tr>
>>
>> <tr><td class="td1">
>> <input type="submit" name="allshows" value="Display Completed
>> Shows">
>> <input type="submit" name="allstates" value="Display *ALL*
>> Active Shows">
>> </td></tr>
>>
>> <tr><td bgcolor="#FFAA66" align="center">
>>
>> Horse show software is available at <A
>> HREF="http://www.showsec.com">Perfected Technology Systems</A>
>>
>> </td></tr>
>>
>> </form>
>> </table>
>> </table>
>>
>> </body></html>
>
> Hi Vic,
>
> I can't see this being any difference between XP & Vista as much as the
> configuration of the browsers used in both (assuming your using IE7 on
> both). Have you double checked to verify that each of the browsers are
> identically configured? Did you try installing Firefox on each machine
> and see if the same thing happens?
>
> Can you provide a link so others can verify it with Vista & XP?
>
> --
> Terry R.
>
> ***Reply Note***
> Anti-spam measures are included in my email address.
> Delete NOSPAM from the email address after clicking Reply.
Thanks Terry,
I am using IE7 on both machines but not the same build (Vista is later).
I could provide a link but you would need to register on the web site, so I
included an example of the HTM. This example fails on the Vista machine and
works on the XP machine. It does work with Firefox which says that it is
IE7. As far as I know IE7 is configured the same on each machine.
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
"Mike Mueller" <MyName@ecinet.net> wrote in message
news:81732E0B-B99F-40E0-B136-FC470D3DDE28@microsoft.com...
> Well, I will narrow it down even further: it does not work on IE7 on your
> Vista machine
>
> It works fine on mine- even with all of the deprecated and invalid code
> that you have
>
>
>
Mike, so what is all of the invalid and depracated code you refer to?
Other then the missing </OPTION> tags which doesn't make any difference
either way.
Although those groups are for named development tool, many ask general web
programming questions for various platforms.
Hope this helps and good luck.
"vic" <vic@showsec.com> wrote in message
news:1E659D73-8664-4C63-89EC-03A606368482@microsoft.com...
> OK - This is a strange problem and I've finally narrowed it down to Vista.
> On my website I have state and country drop-down menues which do what they
> are supposed to do on an XP machine. However on my Vista Ultimate machine
> the <OPTION SELECTED> will select entirely different items when loaded.
> If I run the following HTML on an XP machine it will correctly select
> Canada and Washington as defaults in the 2 drop-down menus. However, when
> run on a Vista machine it selects United States and Oregon . This is
> happening on all of the screens in the web site where there are drop-down
> menus.
>
> This seems to be a glaring bug in Vista!
>
>
> Vic
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
>
> <HTML>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <head><title>HTML Drop-Down Test</title>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Description" CONTENT="Internet based entry system for taking
> horse show entries.">
> <META NAME="Keywords" CONTENT="internet, online, horse show, entries">
>
>
> <script language="JavaScript">
> function viewshow(){
> var showname
> var showid
>
> showname = document.main.show.value;
> //alert(showname);
> splitter = /[ -\/.]/;
>
> showid = showname.split(splitter,4);
> //alert (showid);
> //alert (components[1]);
>
> //var where_is_mytool="home/mytool/mytool.cgi";
> //var mytool_array=where_is_mytool.split("/");
> //alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
>
> location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
> }
>
> </script>
>
> </head>
>
>
> <body onresize="window.location.href = window.location.href">
>
>
> <table align=center border="2" width="750" cellpadding="0"
> cellspacing="0">
> <tr>
> <td>
> <table align=center border="2" cellpadding="0" cellspacing="0"
> width="450" >
> <tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to
> Showmyhorse.com</b> </tr>
>
> <tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
> method='POST'>
> </td></tr>
>
> <tr><td class='td2' align='left'> <b>Country: </b>
> <select name='country' onchange='submit()'>
> <OPTION SELECTED>Canada
> <OPTION>Mexico
> <OPTION>United States
> </select>
> </td></tr>
>
> <tr>
> <td class='td2' align='left'><b>State/Province:
>
> <select name='ShowState' onchange='submit()'>
> <OPTION>Alaska
> <OPTION>Oregon
> <OPTION>Virginia
> <OPTION SELECTED>Washington
> </select>
>
> </td></tr>
>
> <tr><td class='td2' align='center'><b>Shows available for online entry:
> <select name='show' size='20' onchange='viewshow()'>
> <option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
> Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
> Spectacular - Spokane, WA - 2007-09-29</option>
> <option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse
> Clue - Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells
> Canyon Paint Horse Clue - Walla Walla, WA - 2007-07-21</option>
> <option value="WA - 12427 - Paints Show - Washington State Paint Horse
> Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
> State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
> <option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
> Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking
> Horse Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
> </select>
>
> </td></tr>
>
> <tr><td class="td1">
> <input type="submit" name="allshows" value="Display Completed
> Shows">
> <input type="submit" name="allstates" value="Display *ALL*
> Active Shows">
> </td></tr>
>
> <tr><td bgcolor="#FFAA66" align="center">
>
> Horse show software is available at <A
> HREF="http://www.showsec.com">Perfected Technology Systems</A>
>
> </td></tr>
>
> </form>
> </table>
> </table>
>
> </body></html>
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
Hi,
By no means I'm a programming expert (not even a developer), but many would
suggest you to use CSS especially for IE7. But it's up to one's choice.
Just to share and good luck.
"vic" <vic@showsec.com> wrote in message
newsB1DE3F8-829F-4A9F-AB46-378121EBD0C0@microsoft.com...
>
> "Mike Mueller" <MyName@ecinet.net> wrote in message
> news:81732E0B-B99F-40E0-B136-FC470D3DDE28@microsoft.com...
>> Well, I will narrow it down even further: it does not work on IE7 on your
>> Vista machine
>>
>> It works fine on mine- even with all of the deprecated and invalid code
>> that you have
>>
>>
>>
>
> Mike, so what is all of the invalid and depracated code you refer to?
> Other then the missing </OPTION> tags which doesn't make any difference
> either way.
>
>
> Vic
>
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
Hi,
Another thought just came to my mind. Based on what you've said,
> On my website I have [...]
> If I run the following HTML on an XP machine it will correctly select
> Canada[...]
> However on my Vista Ultimate machine[...]
Is it your local site or remote site? If it's for your local site, are you
using IIS7 comes with Ultimate?
I know IIS7 acts differently than IIS5.x (Windows XP) and IIS6 (Server
2003). So if you are using IIS7 for testing local sites, you may want to
take that into considerations for the problem.
Just for your reference, we don't use client side IIS7 (Vista) at least
until the server side is being officially released and proven worth the
efforts.
But you may still wish to check those web development newsgroups.
Good luck.
"vic" <vic@showsec.com> wrote in message
news:1E659D73-8664-4C63-89EC-03A606368482@microsoft.com...
> OK - This is a strange problem and I've finally narrowed it down to Vista.
> On my website I have state and country drop-down menues which do what they
> are supposed to do on an XP machine. However on my Vista Ultimate machine
> the <OPTION SELECTED> will select entirely different items when loaded.
> If I run the following HTML on an XP machine it will correctly select
> Canada and Washington as defaults in the 2 drop-down menus. However, when
> run on a Vista machine it selects United States and Oregon . This is
> happening on all of the screens in the web site where there are drop-down
> menus.
>
> This seems to be a glaring bug in Vista!
>
>
> Vic
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
>
> <HTML>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <head><title>HTML Drop-Down Test</title>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Description" CONTENT="Internet based entry system for taking
> horse show entries.">
> <META NAME="Keywords" CONTENT="internet, online, horse show, entries">
>
>
> <script language="JavaScript">
> function viewshow(){
> var showname
> var showid
>
> showname = document.main.show.value;
> //alert(showname);
> splitter = /[ -\/.]/;
>
> showid = showname.split(splitter,4);
> //alert (showid);
> //alert (components[1]);
>
> //var where_is_mytool="home/mytool/mytool.cgi";
> //var mytool_array=where_is_mytool.split("/");
> //alert(mytool_array[0]+" "+mytool_array[1]+" "+mytool_array[2]);
>
> location.href="HTTPS://www.showmyhorse.com/showinfo_page.php?do="+showid[1];
> }
>
> </script>
>
> </head>
>
>
> <body onresize="window.location.href = window.location.href">
>
>
> <table align=center border="2" width="750" cellpadding="0"
> cellspacing="0">
> <tr>
> <td>
> <table align=center border="2" cellpadding="0" cellspacing="0"
> width="450" >
> <tr bgcolor='#FFFF99'><td colspan='2'><b>Welcome Vic to
> Showmyhorse.com</b> </tr>
>
> <tr><td><form name='main' action='http://www.showmyhorse.com/index.php'
> method='POST'>
> </td></tr>
>
> <tr><td class='td2' align='left'> <b>Country: </b>
> <select name='country' onchange='submit()'>
> <OPTION SELECTED>Canada
> <OPTION>Mexico
> <OPTION>United States
> </select>
> </td></tr>
>
> <tr>
> <td class='td2' align='left'><b>State/Province:
>
> <select name='ShowState' onchange='submit()'>
> <OPTION>Alaska
> <OPTION>Oregon
> <OPTION>Virginia
> <OPTION SELECTED>Washington
> </select>
>
> </td></tr>
>
> <tr><td class='td2' align='center'><b>Shows available for online entry:
> <select name='show' size='20' onchange='viewshow()'>
> <option value="WA - 12259 - Paint Show - Inland NWFall Spectacular -
> Spokane, WA - 2007-09-29">WA - 12259 - Paint Show - Inland NWFall
> Spectacular - Spokane, WA - 2007-09-29</option>
> <option value="WA - 12378 - Paints Show - Hells Canyon Paint Horse
> Clue - Walla Walla, WA - 2007-07-21">WA - 12378 - Paints Show - Hells
> Canyon Paint Horse Clue - Walla Walla, WA - 2007-07-21</option>
> <option value="WA - 12427 - Paints Show - Washington State Paint Horse
> Club - Spanaway, WA - 2007-07-28">WA - 12427 - Paints Show - Washington
> State Paint Horse Club - Spanaway, WA - 2007-07-28</option>
> <option value="WA - 12428 - Tennessee Walking Horse Show - IETWHBEA
> Celebration - Spokane, WA - 2007-07-27">WA - 12428 - Tennessee Walking
> Horse Show - IETWHBEA Celebration - Spokane, WA - 2007-07-27</option>
> </select>
>
> </td></tr>
>
> <tr><td class="td1">
> <input type="submit" name="allshows" value="Display Completed
> Shows">
> <input type="submit" name="allstates" value="Display *ALL*
> Active Shows">
> </td></tr>
>
> <tr><td bgcolor="#FFAA66" align="center">
>
> Horse show software is available at <A
> HREF="http://www.showsec.com">Perfected Technology Systems</A>
>
> </td></tr>
>
> </form>
> </table>
> </table>
>
> </body></html>
Re: HTML <OPTION SELECTED> Doesn't work in Vista machine
"vic" <vic@showsec.com> wrote in message
news:1E659D73-8664-4C63-89EC-03A606368482@microsoft.com...
> OK - This is a strange problem and I've finally narrowed it down to Vista.
> On my website I have state and country drop-down menues which do what they
> are supposed to do on an XP machine. However on my Vista Ultimate machine
> the <OPTION SELECTED> will select entirely different items when loaded.
> If I run the following HTML on an XP machine it will correctly select
> Canada and Washington as defaults in the 2 drop-down menus. However, when
> run on a Vista machine it selects United States and Oregon . This is
> happening on all of the screens in the web site where there are drop-down
> menus.
>
> This seems to be a glaring bug in Vista!
>
>
My God, how in the heck do you associate the problem with the rendering of a
HTML controls and usage of the controls on the client side to a problem with
Vista?
If anything, it's a browser problem with using JavaScript or ASPScript
that's the problem that just happens to be running on the Vista O/S.