Thanks <br><br><br><div class="gmail_quote">2008/6/23 Kenneth Skovhede, GEOGRAF A/S <<a href="mailto:ks@geograf.dk">ks@geograf.dk</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Most likely it means that the browser is unable to parse your
javascript.<br>
This results in a call to a missing function "init".<br>
<br>
I'm guessing that you have code like this:<br>
<br>
var x = { <br>
x: 1,<br>
y = 2,<br>
}<br>
<br>
Notice the trailing "," after 2.<br>
Firefox accepts it, IE does not. <br>
<br>
If you can't find the error, you might want to try installing a
Javascript debugger for IE (like Visual Studio).<br>
<pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
David Martinez Morata skrev:
<blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi list!<br>
<br>
I'm developing a Openlayers environement and I fund a problem. I used
FireFox v2 to develop and every thing it's OK but when I try the URL in
InternetExplorer v6 I have and error .<br>
They says the error it's in <body onload="init()"> but I don't
have any Idea of the problem!<br>
Can enayone help me please?<br>
Thanks<br>
<br>
<br>
this is my code:<br>
<!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" <br>
"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>"><br>
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"><br>
<head><br>
<title>Test OpenLayers</title><br>
<meta http-equiv="content-type" content="text/html;
charset=utf-8"/><br>
<br>
<br>
<br>
scripts<br>
<br>
<br>
<br>
</script><br>
</head><br>
<body onload="init()"><br>
<div id="header"><br>
<h1 id="title">Test OpenLayers</h1><br>
<form action="#" onsubmit="showAddress(this.address.value,
this.countrycode.value); return false"><br>
<p>Recherchez un adresse: <input type="text"
size="60" id="address" value="" /><br>
&nbsp; <input type="submit"
onclick="showAddress(document.getElementById('address').value); return
false;" value="Go!" /><br>
</p><br>
</form><br>
</div><br>
<div style="width:100%; height:85%" id="map"></div><br>
</body><br>
</html><br>
</div></div><pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
Users mailing list
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a>
</div></pre>
</blockquote>
</div>
</blockquote></div><br>