[OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

P Kishor punk.kish at gmail.com
Sat Jan 30 13:34:17 EST 2010


On Sat, Jan 30, 2010 at 12:28 PM, AlessioDL <alessio.dilorenzo at gmail.com> wrote:
>
> Using <script type="....></script> instead of <script type="..... /> let it
> works also in firefox
>


moral of the story... always use <!DOCTYPE.. and follow the hints it
provides. If it is strict, be strict, if it is xhtml, respect xml
rules. Not all browsers behave similarly. Some are more strict than
the others. Use the web inspector in Safari or Firebug in FF.

More pointed to your case -- the fact that Firebug was croaking that
there was no such object as jQuery meant that the jQuery library
wasn't loading, at least as far as Firefox was concerned.


-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Madison, Wisconsin, United States



More information about the Users mailing list