[jQuery] Re: why is code working on Firebug console, but not in script file?

2007-09-11 Thread Matt Vance
Based on what you wrote, I thought something like the following might work, but no luck: $(function(){ $('#jmap').jmap({ provider: 'yahoo', maptype: map, zoom: 5, center: [18.335298917917967,-64.73007202148438]});

[jQuery] Re: why is code working on Firebug console, but not in script file?

2007-09-11 Thread Matt Vance
I tried the following, but the addPoint part still isn't working: $(function(){ $('#jmap').jmap({ provider: 'yahoo', maptype: map, zoom: 5, center: [18.335298917917967,-64.73007202148438]}); $('#jmap').load(function() { $

[jQuery] Re: why is code working on Firebug console, but not in script file?

2007-09-10 Thread Equand
it's a plugin initialisation bug... just add the $('#jmap').addPoint('18.3437','-64.7152', false, 'Point1', false, false); to check by if of the jmap plugin initialisation (usually any plugins create and id or class, by which u can find out if it has been loaded, look in the firebug in html for a