Monday, November 30, 2009

Re: [jQuery] Re: Problem with plugins

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 console:

$().jquery

jQuery().jquery

Sooner or later you may have to post that test page. Sooner would be better, save us all a lot of work. :-)

-Mike

On Mon, Nov 30, 2009 at 7:48 AM, Paulodemoc <paulodemoc@gmail.com> 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... on ALL plugins...

On Nov 27, 12:45 pm, Brett Ritter <swift...@swiftone.org> wrote:
> On Mon, Nov 23, 2009 at 5:55 AM,Paulodemoc<paulode...@gmail.com> 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 are quite likely involved.
> We have no way of knowing if they are indeed working since we don't
> see the output.
>
> Try sending the HTML the browser is getting.
>
> --
> Brett Ritter / SwiftOne
> swift...@swiftone.org

No comments: