diff --git a/example.html b/example.html
index d3ec79adbc..15c30a9049 100644
--- a/example.html
+++ b/example.html
@@ -14,7 +14,7 @@
var map, layer;
function init(){
- map = new OpenLayers.Map( $('map') );
+ map = new OpenLayers.Map('map');
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://octo.metacarta.com/cgi-bin/mapserv",
{map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'} );