HTML <OPTION SELECTED> Doesn't work in Vista machine

V

vic

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:&nbsp;</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>
 
L

Larry Maturo

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 said:
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:&nbsp;</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>
 
T

Terry R.

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:&nbsp;</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.
 
M

Mike Mueller

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 said:
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:&nbsp;</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>
 
V

vic

Terry R. said:
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:&nbsp;</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.

Vic
 
V

vic

Mike Mueller said:
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
 
X

xfile

Hi,

You may also try newsgroups for development tools as more programming
experts are there.

For MS tools, you could at least try the following two:

(1) Expression Web Designer: microsoft.public.expression.webdesigner

(2) FrontPage: microsoft.public.frontpage.programming

Although those groups are for named development tool, many ask general web
programming questions for various platforms.

Hope this helps and good luck.


vic said:
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:&nbsp;</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>
 
X

xfile

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.
 
X

xfile

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 said:
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:&nbsp;</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>
 
M

Mr. Arnold

vic said:
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.
 
V

vic

Arnold,

Well , it's like this:

When I access the web site on an XP Machine running IE7 it is correct. If I
access the same website on a Vista machine also running IE7 it fails. Is
that simple enough for you?

Vic
 
M

Mr. Arnold

vic said:
Arnold,

Well , it's like this:

When I access the web site on an XP Machine running IE7 it is correct. If
I access the same website on a Vista machine also running IE7 it fails.
Is that simple enough for you?

What does that have to do with anything?

The Web page is being rendered at the client using browser technology along
with using JavaScript or AspScript languages. It's not Vista and the O/S
using the Option Select statement. IIS7 is not even involved with this,
unless you're doing a POST back to the Web Server with server side scripting
being done.

So simply put, how can this be a Vista bug? Vista has nothing to do with
this. It just happens to be the Vista O/S is where JavaScript or AspScript
languages are running on doing depending on what scripting language is being
used on the client side.

Vista is NOT the one that using the Option Select statement it's the
scripting languages. If anything, the scripting language has the problem
and not Vista per say.

It's like saying I have a bug with one of the controls used in a VB.Net
language Windows application. How is that bug a XP, Vista or any O/S's
issue? It's the language that's having the problem. After all, it's the
scripting language that's manipulating the Web control, not the Vista O/S.
 
V

vic

Vista is NOT the one that using the Option Select statement it's the
scripting languages. If anything, the scripting language has the problem
and not Vista per say.

OK - so it's NOT Vista but still it is only a problem on my Vista machine
and not on my XP machine ( both machines running IE7). The following HTML
fails where the country option selected fails but the state option selected
works!

There is no java or ASP script. Can you explain this?


<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head><title>Drop-Down Test!</title>

</head>

<body >

<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><td>
<form name='main' action='http://www.showmyhorse.com/index.php'
method='POST'>
</td></tr>

<tr><td align='left'><b>Country:</b>
<select name='country' onchange='submit()'>
<option value='CA' selected>Canada </option>
<option value='MX'>Mexico </option>
<option value='US'>United States </option>
</select>
</td></tr>

<tr><td align='left'><b>State/Province:
<select name='ShowState' onchange='submit()'>
<option value='AL'>Alabama </option>
<option value='AK' selected>Alaska </option>
<option value='VT'>Vermont </option>
<option value='VA'>Virginia </option>
<option value='WA'>Washington </option>
<option value='WV'>West Virginia </option>
<option value='WI'>Wisconsin </option>
</select>
</td></tr>
</form>
</table>
</table>
</body></html>
 
M

Mr. Arnold

vic said:
OK - so it's NOT Vista but still it is only a problem on my Vista machine
and not on my XP machine ( both machines running IE7). The following HTML
fails where the country option selected fails but the state option
selected works!

There is no java or ASP script. Can you explain this?

I would say you have a browser issue or how the HTML is being used by the
browser. Now, the problem maybe is being exposed while running on Vista.

One easy way to check this is install another browser on Vista like Firefox
and see if the problem follows, since that is striaght HTML.
 
V

vic

I would say you have a browser issue or how the HTML is being used by the
browser. Now, the problem maybe is being exposed while running on Vista.

OK - problem identified!

This problem is definitely related to the "Windows Live Toolbar Helper"
(msntb.dll) but only in Vista and NOT XP. The same helper is enabled on the
XP machine and doesn't cause problems. If I disable the Addon, the <option
selected> works correctly. Now, we can say that it is not Vista if you want
but it is definitely related to Vista.

I'm really surprised there is not more info on this because the small HTML
example reproduces the problem. I would definitely be interested from
anyone who would like to run this eample and let me know the results


Vic
 
M

Mr. Arnold

vic said:
OK - problem identified!

This problem is definitely related to the "Windows Live Toolbar Helper"
(msntb.dll) but only in Vista and NOT XP. The same helper is enabled on
the XP machine and doesn't cause problems. If I disable the Addon, the
<option selected> works correctly. Now, we can say that it is not Vista
if you want but it is definitely related to Vista.

It's a program problem that's related to msntb.dll, that happens to be
running on Vista and happens to be used by the browser.

Vista (the O/S) has nothing to do with it. It's back to that VB example
again. Just because the VB program works on XP and not on Vista does that
mean that it's an O/S that caused the issue. It's the program that's having
the problem, for whatever reason.
I'm really surprised there is not more info on this because the small HTML
example reproduces the problem. I would definitely be interested from
anyone who would like to run this eample and let me know the results

Maybe, you should report the program problem to some authority so that they
can investigate the issue.
 
T

Terry R.

On 6/28/2007 11:08 AM On a whim, vic pounded out on the keyboard
OK - problem identified!

This problem is definitely related to the "Windows Live Toolbar Helper"
(msntb.dll) but only in Vista and NOT XP. The same helper is enabled on the
XP machine and doesn't cause problems. If I disable the Addon, the <option
selected> works correctly. Now, we can say that it is not Vista if you want
but it is definitely related to Vista.

I'm really surprised there is not more info on this because the small HTML
example reproduces the problem. I would definitely be interested from
anyone who would like to run this eample and let me know the results


Vic

Hi Vic,

Have you run your site through a validator:

http://www.w3schools.com/site/site_validate.asp

Once everything is validated, try it again to be sure.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
X

xfile

Glad you solved it - good troubleshooting.


vic said:
OK - problem identified!

This problem is definitely related to the "Windows Live Toolbar Helper"
(msntb.dll) but only in Vista and NOT XP. The same helper is enabled on
the XP machine and doesn't cause problems. If I disable the Addon, the
<option selected> works correctly. Now, we can say that it is not Vista
if you want but it is definitely related to Vista.

I'm really surprised there is not more info on this because the small HTML
example reproduces the problem. I would definitely be interested from
anyone who would like to run this eample and let me know the results


Vic
 
V

vic

Thanks - but not really resolved. There must be something on my site
causing msntb.dll to fail. I haven't gotten anyone to test the example on
another Vista machine where msntb.dll is enabled.

Vic
 
X

xfile

Well, try those development newsgroups I mentioned or even IE group to see
if there are any known problems between IE and toolbars. But most likely,
you will be told to remove toolbars, which I tend to agree for personal use.
For a developer, you are right for testing known scenarios.

IE general: microsoft.public.internetexplorer.general

Another thought is go to some sites with similar options listed and see if
similar problems will be reproduced on your Vista machine. If not, read
their source codes to see any differences.

Also, I asked if you are using IIS7 for local sites (you don't have to
answer though). But if that's the case, you really need to consider its
effects especially on security side. As said, we are not planning to use it
for very long so I just read its documentations very briefly but like
everything in Vista, security is the highest priority at "ALL" costs.

Good luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top