kiranswaminathan
asked on
Select Javascript not working for Safari
Hi ,
We have issues with some javascript where, Safari browser can't interpret the javascript select command (list box to select the country). I know that Safar can be picky when running javascript. But to the best of my knowledge, this follows W3C standards. Any help would be much appreciated
regards
K
We have issues with some javascript where, Safari browser can't interpret the javascript select command (list box to select the country). I know that Safar can be picky when running javascript. But to the best of my knowledge, this follows W3C standards. Any help would be much appreciated
regards
K
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>xx- Europe</title>
<style type="text/css">@import url(css/styles-xxx.css);</style>
<link rel="stylesheet" href="css/simple-xxxxx.css" />
<style type="text/css">
tr.odd {
background-color: #F7F7F7;}
table.contentTable{
margin-bottom: 25px;}
table.contentTable td, table.contentTable th {
border-bottom: 1px solid #ccc;
padding: 5px 10px 5px 1px;}
table.contentTable td.sep, table.contentTable th.sep {
border-left: 1px solid #ccc;
padding-left: 10px;}
table.contentTable td.space, table.contentTable th.space {
padding-right: 25px;}
table.contentTable, table.threeColTable {
margin-bottom: 25px;}
table.contentTable td, table.contentTable th {
border-bottom: 1px solid #ccc;
padding: 5px 10px 5px 0;}
table.contentTable td.sep, table.contentTable th.sep {
border-left: 1px solid #ccc;
padding-left: 10px;}
table.contentTable td.space, table.contentTable th.space {
padding-right: 25px;}
</style>
<script type="text/javascript">
function Link() {
</script>
</head>
<body>
<div id="document" style="width: 742px; height: 1007px">
<div id="head">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr valign="top"><td><img border="0" src="images/logo_xxxbank.jpg"></td></tr>
<tr align="center"><td align="center"><b><font size="5">Virtual Office Portal</font></b></td></tr>
<tr align="center"><td><img src="images/08_map.gif" alt="Map of Europe" /></td></tr>
<tr align="center"><td><br>
<SELECT NAME="liste1" SIZE=1>
<OPTION SELECTED VALUE="">--- Select your Environment ---</OPTION>
<OPTION VALUE="/Lond/xxxDenmark/">Denmark</OPTION>
<OPTION VALUE="/Lond/xxxFrance/">France</OPTION>
<OPTION VALUE="/Lond/xxxSweden/">Sweden</OPTION>
<OPTION VALUE="/Lond/xxxSwitzerland/">Switzerland</OPTION>
<OPTION VALUE="/Lond/xxxUK/">UK</OPTION>
</SELECT> <input type="image" src="images/go.gif" class="inline" onClick="if (liste1.selectedIndex!=0) location=liste1.options[liste1.selectedIndex].value; else alert('Veuillez faire un choix au menu.')">
<br><br></td></tr>
</table>
<div id="foot"><p id="copy">Copyright xxxxxxxxxxx</p></div>
</body>
</html >
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER