Glad to help.
It's nothing specific to jQuery, of course. Here's a simplified test case:
var Test = function() {};
Test.prototype.foo = function() { alert('bar'); };
var test = new Test;
test.foo(); // alerts 'bar'
var Test = function() {};
var test = new Test;
tes
Omg, I can't believe that was the problem You guys are the best :P
I didn't know this particularity about jQuery... it's logical
though
Thanks you all for the help and your time.
Att.
Paulo Henrique
;)
On Dec 2, 4:09 am, Michael Geary wrote:
> Don't feel bad. You made it easy for me.
Don't feel bad. You made it easy for me. Since you'd already done some
investigating and ruled out a number of possibilities, all I had to do was
look at the one or two things you might have missed! :-)
On a more serious note, this thread is a great example of why we keep asking
people to post a l
On Dec 1, 5:31 pm, Michael Geary wrote:
> Paulo, you're loading jQuery twice. First you load jQuery, then you load
> your plugins, then you load jQuery again. That second load of jQuery wipes
> out the original jQuery and all its plugins.
>
> Do a View Source on your page with the sort photos link
Paulo, you're loading jQuery twice. First you load jQuery, then you load
your plugins, then you load jQuery again. That second load of jQuery wipes
out the original jQuery and all its plugins.
Do a View Source on your page with the sort photos link, and search for:
On Dec 1, 6:30 am, Paulodemoc wrote:
> [ ... ] I have a test page here:http://jquery.creandi.eu [ ... ]
I've spent a fair bit of time looking at this with no luck. I think
the thing to do is to make some test pages from this, progressively
stripping out parts until you find the error goes away.
Hey Michael :)
ALl jQuery commands are working just fine. When I try the commands you
told me, it outputs "1.3"
I have a test page here: http://jquery.creandi.eu
You can login with user: admin
and password: 123456
On the menu on the left, click on mannequins, and then click on Insert
photos, on
Could it be that you are also loading prototype.js or some other library
that redefines the $() function?
Does it find plugin methods if you use jQuery(...)... instead of $(...)...?
Do the built-in jQuery methods show up?
What does it display if you enter each of these lines into the Firebug
con
On Nov 30, 10:48 am, Paulodemoc wrote:
> The plugins are being loaded. When I open the source code and click on
> the js url, it opens alright
> But when I call the command:
>
> $(selector).pluginFunction({options});
>
> An error message appears saying that pluginFunction is not a
> function..
The plugins are being loaded. When I open the source code and click on
the js url, it opens alright
But when I call the command:
$(selector).pluginFunction({options});
An error message appears saying that pluginFunction is not a
function... on ALL plugins...
On Nov 27, 12:45 pm, Brett Ritter
On Mon, Nov 23, 2009 at 5:55 AM, Paulodemoc wrote:
> Its the javasscript on the php page, and the only php there is to
> output the urls, and these urls are being printed correctly
> The url doesn't affect the understanding of the rest of the code...
If your plugins aren't loading, those URLs
This code is on a .php file... i just renamed the file to .js to
attach to the e-mail...
On Nov 23, 9:05 am, Michel Belleville
wrote:
> First of all, if this is a .js script, why is there html in the first few
> lines ?
>
> Michel Belleville
>
> 2009/11/23 Paulodemoc
>
> > Its the javasscript on
First of all, if this is a .js script, why is there html in the first few
lines ?
Michel Belleville
2009/11/23 Paulodemoc
> Its the javasscript on the php page, and the only php there is to
> output the urls, and these urls are being printed correctly
> The url doesn't affect the understand
Its the javasscript on the php page, and the only php there is to
output the urls, and these urls are being printed correctly
The url doesn't affect the understanding of the rest of the code...
On Nov 19, 3:08 pm, Michael Geary wrote:
> Can you post a link to a test page?
>
> It's impossible
14 matches
Mail list logo