I tried again your previous post, and figured out a creepy thing:
alert is called, svg isn't loaded, ok. But then if i'm resizing the window, the svg is loaded...
I haven't tried ajax yet, and don't see why i should use ajax just to load a *à)é&"'à SVG file ,)
If i have to, i will, but if there is another solution...
It's making me crazy.
Edit:
- $(document).ready(function() {
- $("#map").bind("load", alert("bip")).attr({"src": 'map/svg', "height": "280", "width": "500"});
- });
alert is called, svg is loaded but if i replace alert("bip") by the init handler, it still doesn't work...
Here is my latest test page.