Thanks <br><br><br><div class="gmail_quote">2008/6/23 Kenneth Skovhede, GEOGRAF A/S &lt;<a href="mailto:ks@geograf.dk">ks@geograf.dk</a>&gt;:<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 &quot;init&quot;.<br>
<br>
I&#39;m guessing that you have code like this:<br>
<br>
var x = { <br>
x: 1,<br>
y = 2,<br>
}<br>
&nbsp; <br>
Notice the trailing &quot;,&quot; after 2.<br>
Firefox accepts it, IE does not. <br>
<br>
If you can&#39;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&#39;m developing a Openlayers environement and I fund a problem. I used
FireFox v2 to develop and every thing it&#39;s OK but when I try the URL in
InternetExplorer v6 I have and error .<br>
They says the error it&#39;s in &lt;body onload=&quot;init()&quot;&gt; but I don&#39;t
have any Idea of the problem!<br>
Can enayone help me please?<br>
Thanks<br>
  <br>
  <br>
this is my code:<br>
&lt;!DOCTYPE html &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; <br>
&nbsp; &quot;<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>&quot;&gt;<br>
&lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;&gt;<br>
&nbsp; &lt;head&gt;<br>
&nbsp; &nbsp;&nbsp;&nbsp; &lt;title&gt;Test OpenLayers&lt;/title&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;
charset=utf-8&quot;/&gt;<br>
  <br>
  <br>
  <br>
scripts<br>
  <br>
  <br>
  <br>
&nbsp; &lt;/script&gt;<br>
&lt;/head&gt;<br>
&lt;body onload=&quot;init()&quot;&gt;<br>
&nbsp; &lt;div id=&quot;header&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;h1 id=&quot;title&quot;&gt;Test OpenLayers&lt;/h1&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;form action=&quot;#&quot; onsubmit=&quot;showAddress(this.address.value,
this.countrycode.value); return false&quot;&gt;<br>
&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;p&gt;Recherchez un adresse: &lt;input type=&quot;text&quot;
size=&quot;60&quot; id=&quot;address&quot; value=&quot;&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &amp;nbsp; &lt;input type=&quot;submit&quot;
onclick=&quot;showAddress(document.getElementById(&#39;address&#39;).value); return
false;&quot; value=&quot;Go!&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/p&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/form&gt;<br>
&nbsp; &lt;/div&gt;<br>
&nbsp; &lt;div style=&quot;width:100%; height:85%&quot; id=&quot;map&quot;&gt;&lt;/div&gt;<br>
&lt;/body&gt;<br>
&lt;/html&gt;<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>