Re: [jQuery] $ is not defined

2009-11-02 Thread Michel Belleville
I'd say you your script may not be accessible through the relative url, or
the relative url points somewhere else. Try using an url based on the server
root :




If you're running the app from the server's root and your jQuery script is
accessible at http://www.your-server.com/javascripts/jquery-1.3.2.js this
should work a treat.

Regards.

Michel Belleville


2009/11/2 Al Carnali 

>
>
>
> I’m having trouble running a simple JQuery script.  When I run the script
> using a local version of the jquery-1.3.2.js file, I get a “$ is not
> defined” error.
>
>
> If I do the same thing using a version on the google.code server it works
> just fine.
>
>
>
> I’m sure that I’m referencing the correct location of the local
> jquery-1.3.2.js file because if I copy the directory structure to another
> computer it works just fine.
>
>
>
> The OS is Windows XP.  Any ideas?
>
>
>
>
>
> This doesn’t work:
>
> 
>
>
>
> This works:
>
>
>
>  
> http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"type
> ="text/javascript">
>
>
>
> Thanks,
>
>
>
> Al
>
>
>
>


[jQuery] $ is not defined

2009-11-02 Thread Al Carnali



I’m having trouble running a simple JQuery script.  When I run the  
script using a local version of the jquery-1.3.2.js file, I get a “$  
is not defined” error.


If I do the same thing using a version on the google.code server it  
works just fine.


I’m sure that I’m referencing the correct location of the local  
jquery-1.3.2.js file because if I copy the directory structure to  
another computer it works just fine.


The OS is Windows XP.  Any ideas?


This doesn’t work:


This works:

http://jqueryjs.googlecode.com/files/ 
jquery-1.3.2.min.js"type="text/javascript">


Thanks,

Al





[jQuery] Re: Error: jQuery is not defined (LINE 387) - BlockUI Plugin (v1.33)

2009-03-02 Thread SeeYou

Thanks!

On 2 mar, 08:48, Mike Alsup  wrote:
> > 
> > 
>
> You have to include jQuery *before* you include any plugins.


[jQuery] Re: Error: jQuery is not defined (LINE 387) - BlockUI Plugin (v1.33)

2009-03-02 Thread Mike Alsup

> 
> 


You have to include jQuery *before* you include any plugins.


[jQuery] Error: jQuery is not defined (LINE 387) - BlockUI Plugin (v1.33)

2009-03-02 Thread SeeYou

I am trying to run a simple call to jQuery BlockUI Plugin (v1.33), but
this give error: Error: jQuery is not defined (LINE 387) -


Line: 387, see above:

.
..
.
function sz(el, p) {
return parseInt($.css(el,p))||0;
};

})(jQuery); (LINE 387)


However I am importing correctly the JQUERY, see:

...




$(document).ready(function() {
$('#test').click(function() {
$.blockUI({ message: "<h1>Only Test</h1>" });
});
});





Abre



Can anyone help?
Thanks.


[jQuery] "$ is not defined" error

2009-01-02 Thread Betty

I get this error in the Firefox error console: "$ is not defined".
it points me to line
$("div#respond>h3").html("Reply to");

I'm sure I've set jQuery properly because it works fine in other
browsers and the other jQuery effects I use can work in Firefox. Only
this part does not work. Actually, it works on my local test computer,
but if I upload the same file to the server, this part gets this
error. I can't understand why.

If you need an example, it's http://myfairland.net/mizong/
#comments">http://myfairland.net/mizong/#comments. The site is in
Chinese. If you put the mouse on the comment part and click the button
that appears, with the Chinese word that means "reply", you can get
the error in Firefox.

This error really frustrates me. If you can help me, I'll appreciate
you very much! Many thanks!


[jQuery] jquery is not defined (newbie)

2008-08-25 Thread Scott Phillips

I am trying to get datepicker plugin (http://eyecon.ro/datepicker/
#about) to work on a page, and I can't get it to work for some reason.
I keep getting the following 2 errors:

jQuery is not defined
datepicker.js()()datepicker.js (line 819)
[Break on this error] })(jQuery);

datepicker.js (line 819)
$("#inputDate").DatePicker is not a function
[Break on this error] onChange: function(formated, dates){

I'm positive that the paths to jquery, etc.. are correct. This is the
code I am using to call the datepicker:


$(document).ready(function(){


$('#inputDate').DatePicker({
format:'m/d/Y',
date: $('#inputDate').val(),
current: $('#inputDate').val(),
starts: 1,
position: 'r',
onBeforeShow: function(){
$('#inputDate').DatePickerSetDate($('#inputDate').val(), true);
},
onChange: function(formated, dates){
$('#inputDate').val(formated);
}
});

 });


Any help is greatly appreciated!


[jQuery] Re: jquery is not defined (newbie)

2008-08-24 Thread pedalpete

Looks like you are not properly refrencing the jquery script.
You should have an entry in your header that looks like

[code]
  
[/code]

except the src should point to YOUR jquery file.

On Aug 24, 10:12 am, Scott  Phillips <[EMAIL PROTECTED]> wrote:
> I am trying to get datepicker plugin (http://eyecon.ro/datepicker/
> #about) to work on a page, and I can't get it to work for some reason.
> I keep getting the following 2 errors:
>
> jQuery is not defined
> datepicker.js()()datepicker.js (line 819)
> [Break on this error] })(jQuery);
>
> datepicker.js (line 819)
> $("#inputDate").DatePicker is not a function
> [Break on this error] onChange: function(formated, dates){
>
> I'm positive that the paths to jquery, etc.. are correct. This is the
> code I am using to call the datepicker:
>
> 
> $(document).ready(function(){
>
> $('#inputDate').DatePicker({
>         format:'m/d/Y',
>         date: $('#inputDate').val(),
>         current: $('#inputDate').val(),
>         starts: 1,
>         position: 'r',
>         onBeforeShow: function(){
>                 $('#inputDate').DatePickerSetDate($('#inputDate').val(), 
> true);
>         },
>         onChange: function(formated, dates){
>                 $('#inputDate').val(formated);
>         }
>
> });
>
>  });
> 
>
> Any help is greatly appreciated!


[jQuery] Re: jQuery is not defined and fade

2008-05-22 Thread Wil Everts
Hi Marcos,

In your markup you have:




when you want:





Your jquery include should be inserted BEFORE any other plugins/scripts.

Best of Luck!

Wil Everts
[EMAIL PROTECTED]


[jQuery] Re: jQuery is not defined and fade

2008-05-22 Thread Ryura

You need to use the script src to jQuery before pngfix.




On May 22, 7:18 pm, Marcos <[EMAIL PROTECTED]> wrote:
> Im getting problems with Jquery. In firefox show jQuery is not
> defined. I think that this is due to pngfix. But I dont lnow how to
> solve. Another problem its with fade and png transparencies with
> explorer. Can you help me. You can check it   out inhttp://csshispano.com


[jQuery] jQuery is not defined and fade

2008-05-22 Thread Marcos

Im getting problems with Jquery. In firefox show jQuery is not
defined. I think that this is due to pngfix. But I dont lnow how to
solve. Another problem its with fade and png transparencies with
explorer. Can you help me. You can check it   out in http://csshispano.com


[jQuery] $ is not defined

2008-05-06 Thread mdg583

Hi, I don't know where this problem is coming from, but I find that
over the course of a few jquery AJAX operations and a ajaxForm submit,
for a little while I find that "$ is not defined". Basically, I am
loading a form into the current document using the jquery load
function, and then setting up ajaxForm to submit this form and put the
results into another div. This content that is finally loaded into
this next div div has a javascript function near the beginning, and at
the point in time when this script is reached, I find that "$ is not
defined".

This happened once before and I just worked around it, but that is
getting difficult.

Does anyone know why this would be?

I have jquery.form that says it requires jQuery v1.1 or later, and I
have jQuery 1.2.1.


[jQuery] $ is not defined error

2008-04-17 Thread dustinl

I get this error in the Firefox error console: "$ is not defined" and
it points me to line

$(document).ready( function() {

I have the most up to date jQuery and I am pointing it to the correct
location but I can't figure out why I get this error.  Anybody else
experience this?


[jQuery] Re: Firefox Only Error..... jQuery is not defined..... jScrollPane.js (line 94)

2008-03-02 Thread [EMAIL PROTECTED]

Turns out this error was being caused by Joomla!. The Email Cloaking
Mambot was inserting javascript that was breaking everything. Turning
the Mambot off has solved the problem.

On Feb 29, 12:10 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi, I need some help with a website I have recently put online. The
> address ishttp://www.pamelaneil.co.uk. I am using jScrollPane and
> everything works fine in IE6 and IE7, but in Firefox the page just
> hangs and Firebug shows this error: jQuery is not defined(no name)
> ()jScrollPane.js (line 94).
>
> Strangely when I run it on localhost it works in Firefox, but on the
> live site it doesn't. I'm really stuck, any help or ideas would be
> great. Thanks.
>
> Here is the JavaScript I'm using:
>
> 
> 
> 
> 
>
> 
> $(document).ready(function(){
>         $('.scrollMe').jScrollPane();
>  });
> 


[jQuery] Re: Firefox Only Error..... jQuery is not defined..... jScrollPane.js (line 94)

2008-03-02 Thread [EMAIL PROTECTED]

Changing the URLs didn't work.

And the error only happens on pages where there is no scroll bar, for
example this page (with a scrollbar) works:

http://www.pamelaneil.co.uk/index.php?option=com_content&task=view&id=13&Itemid=33

On Mar 1, 5:55 pm, "Michael Ray" <[EMAIL PROTECTED]> wrote:
> Try not to use absolute paths whenever you can. Try putting a forward slash
> at the beginning of your relative URLs
>
> 
> 
> 
> 
>
> On Fri, Feb 29, 2008 at 11:21 AM, Alexandre Plennevaux <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > try using the absolute path to point to the jquery script ?
> >  > src="<a  rel="nofollow" href="http://www.pamelaneil.co.uk/templates/pamelaneil/jquery-1.2.3.js">http://www.pamelaneil.co.uk/templates/pamelaneil/jquery-1.2.3.js</a>
> > ">
>
> > On Fri, Feb 29, 2008 at 1:10 PM, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
>
> > >  Hi, I need some help with a website I have recently put online. The
> > >  address ishttp://www.pamelaneil.co.uk. I am using jScrollPane and
> > >  everything works fine in IE6 and IE7, but in Firefox the page just
> > >  hangs and Firebug shows this error: jQuery is not defined(no name)
> > >  ()jScrollPane.js (line 94).
>
> > >  Strangely when I run it on localhost it works in Firefox, but on the
> > >  live site it doesn't. I'm really stuck, any help or ideas would be
> > >  great. Thanks.
>
> > >  Here is the JavaScript I'm using:
>
> > >  
> > >  
> > >  
> > >  
>
> > >  
> > >  $(document).ready(function(){
> > >         $('.scrollMe').jScrollPane();
> > >   });
> > >  
>
> > --
> > Alexandre Plennevaux
> > LAb[au]
>
> >http://www.lab-au.com- Hide quoted text -
>
> - Show quoted text -


[jQuery] Re: Firefox Only Error..... jQuery is not defined..... jScrollPane.js (line 94)

2008-03-02 Thread [EMAIL PROTECTED]

Unfortunately changing the paths doesn't seem to make a difference.
And I've noticed it's only happening on pages where the scrollbar
shouldn't be displayed.

For example this page works because the text is too big for the
container div and needs scrollbars:

http://www.pamelaneil.co.uk/index.php?option=com_content&task=view&id=13&Itemid=33


[jQuery] Re: Firefox Only Error..... jQuery is not defined..... jScrollPane.js (line 94)

2008-03-02 Thread [EMAIL PROTECTED]

Turns out this error was being caused by Joomla!. The Email Cloaking
Mambot was inserting javascript that was breaking everything. Turning
the Mambot off has solved the problem.

On Mar 1, 5:55 pm, "Michael Ray" <[EMAIL PROTECTED]> wrote:
> Try not to use absolute paths whenever you can. Try putting a forward slash
> at the beginning of your relative URLs
>
> 
> 
> 
> 
>
> On Fri, Feb 29, 2008 at 11:21 AM, Alexandre Plennevaux <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > try using the absolute path to point to the jquery script ?
> >  > src="<a  rel="nofollow" href="http://www.pamelaneil.co.uk/templates/pamelaneil/jquery-1.2.3.js">http://www.pamelaneil.co.uk/templates/pamelaneil/jquery-1.2.3.js</a>
> > ">
>
> > On Fri, Feb 29, 2008 at 1:10 PM, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
>
> > >  Hi, I need some help with a website I have recently put online. The
> > >  address ishttp://www.pamelaneil.co.uk. I am using jScrollPane and
> > >  everything works fine in IE6 and IE7, but in Firefox the page just
> > >  hangs and Firebug shows this error: jQuery is not defined(no name)
> > >  ()jScrollPane.js (line 94).
>
> > >  Strangely when I run it on localhost it works in Firefox, but on the
> > >  live site it doesn't. I'm really stuck, any help or ideas would be
> > >  great. Thanks.
>
> > >  Here is the JavaScript I'm using:
>
> > >  
> > >  
> > >  
> > >  
>
> > >  
> > >  $(document).ready(function(){
> > >         $('.scrollMe').jScrollPane();
> > >   });
> > >  
>
> > --
> > Alexandre Plennevaux
> > LAb[au]
>
> >http://www.lab-au.com- Hide quoted text -
>
> - Show quoted text -


[jQuery] Re: Firefox Only Error..... jQuery is not defined..... jScrollPane.js (line 94)

2008-03-02 Thread [EMAIL PROTECTED]

Thanks for the replies on this. Unfortunately changing the URL doesn't
make a difference. I've tried using the absolute path and tried just
adding a starting slash.

Another wierd thing is that it works on this page:

http://www.pamelaneil.co.uk/index.php?option=com_content&task=view&id=13&Itemid=33

On this page the text overflows the div so the scroll bars are needed.
On pages where there is less text (and scrollbars should not be shown)
firefox goes nuts.

I guess I could use MS conditional comments to comment out the
javascript and just accept ugly scrollbars on non-IE browsers.


[jQuery] $ is not defined error

2007-09-18 Thread Phil Glatz

I'm modifying the Drupal img_assist module, and trying to add a little
jquery to the popup it creates. When I do, I get this error:

$ is not defined

When I view source, I see the jquery init code at the bottom of the
html for both the page frameset, and for both of the framed pages (the
popup uses frames).



[jQuery] "jQuery is not defined" in line 1400 in 1.3.1.1

2007-08-17 Thread R. Rajesh Jeba Anbiah

""jQuery is not defined" in line 1400"

Now and then, I'm getting this error in FF.

The line is:
// Clean up added properties in IE to prevent memory leak
if (jQuery.browser.msie)

Is it a known issue or am I mistaken? TIA

--
  
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/



[jQuery] Re: firebug displays "jQuery is not defined" on page load

2007-06-08 Thread GianCarloMing

Hi Mike,
i've made some test with the uncompressed version and locally i could
not recreate the error.
For sure it is a firebug bug.
However i'll put online a page with the uncopmpressed verion of jquery
(i suppose it is enough one page alone, the one you land by clicking
on the prjcts list)
GC



On Jun 6, 6:42 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> I think that's a firebug problem, but can you try it without the
> packed version of jQuery so we can get a better look?
>
> Mike
>
> On 6/6/07,GianCarloMing<[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi all.
> > I've made a little website for some friends and, on that specific page
> >http://www.modostudio.net/projects.htmli used the tableSorter plugin
> > to display their works.
>
> > I want investigate on the weird error that pops up in firebug with
> > firefox 2.0.0.4. If you got firebug installed do that:
>
> > 1) click on "KKKT - International port terminal - Klaipeda" link or
> > row to view the project*.
> > *I assigned the HREF .attr('href') of each link to a function, so you
> > can change page by cklicking either on the link or the single project
> > ROW.
> > The "KKKT..." loads and your mouse pointer should be OVER a flash
> > component.
> > Now move your mouse OUTSIDE flash, the error pops up up in firebug.
> > Says "jQuery is not defined".
> > To me it is something related to mouseover-mouseout and flash.
>
> > 2) Clic on "Parco di Valle Mentuccia". The project is locaded on the
> > LAST row so when that new page loads, YOUR mouse should be OUSIDE
> > flash, over some text in a paragraph. Firebug now DO NOT displays ANy
> > error.
>
> > Who knows why?
> > On IE6 and 7 it is OK. Even in mozilla works perfectly but the
> > annoying weird error in firebug is always there.
> > Any help?
> > I thought would be nicer to embed dinamically flash with jquery and
> > maybe that would solve the 'problem'.
>
> > Thanks
> > GC



[jQuery] Re: firebug displays "jQuery is not defined" on page load

2007-06-06 Thread Mike Alsup


I think that's a firebug problem, but can you try it without the
packed version of jQuery so we can get a better look?

Mike


On 6/6/07, GianCarloMing <[EMAIL PROTECTED]> wrote:


Hi all.
I've made a little website for some friends and, on that specific page
http://www.modostudio.net/projects.html i used the tableSorter plugin
to display their works.

I want investigate on the weird error that pops up in firebug with
firefox 2.0.0.4. If you got firebug installed do that:

1) click on "KKKT - International port terminal - Klaipeda" link or
row to view the project*.
*I assigned the HREF .attr('href') of each link to a function, so you
can change page by cklicking either on the link or the single project
ROW.
The "KKKT..." loads and your mouse pointer should be OVER a flash
component.
Now move your mouse OUTSIDE flash, the error pops up up in firebug.
Says "jQuery is not defined".
To me it is something related to mouseover-mouseout and flash.


2) Clic on "Parco di Valle Mentuccia". The project is locaded on the
LAST row so when that new page loads, YOUR mouse should be OUSIDE
flash, over some text in a paragraph. Firebug now DO NOT displays ANy
error.

Who knows why?
On IE6 and 7 it is OK. Even in mozilla works perfectly but the
annoying weird error in firebug is always there.
Any help?
I thought would be nicer to embed dinamically flash with jquery and
maybe that would solve the 'problem'.


Thanks
GC




[jQuery] Re: firebug displays "jQuery is not defined" on page load

2007-06-06 Thread Sean Catchpole

I have a feeling the problem is with this code:
/* highlight TR */
25 $("#prj tr").mouseover(function(){
26 $(this).addClass("over");
27 })
28 .mouseout(function(){
29 $(this).removeClass("over");
30 }
31 );

Try taking that out or changing it this:
$("prj tr").hover(
 function(){ $(this).addClass("over"); },
 function(){ $(this).removeClass("over"); });

Of course there could be other reasons for the error too, that's just my
guess.

~Sean


[jQuery] firebug displays "jQuery is not defined" on page load

2007-06-06 Thread GianCarloMing

Hi all.
I've made a little website for some friends and, on that specific page
http://www.modostudio.net/projects.html i used the tableSorter plugin
to display their works.

I want investigate on the weird error that pops up in firebug with
firefox 2.0.0.4. If you got firebug installed do that:

1) click on "KKKT - International port terminal - Klaipeda" link or
row to view the project*.
*I assigned the HREF .attr('href') of each link to a function, so you
can change page by cklicking either on the link or the single project
ROW.
The "KKKT..." loads and your mouse pointer should be OVER a flash
component.
Now move your mouse OUTSIDE flash, the error pops up up in firebug.
Says "jQuery is not defined".
To me it is something related to mouseover-mouseout and flash.


2) Clic on "Parco di Valle Mentuccia". The project is locaded on the
LAST row so when that new page loads, YOUR mouse should be OUSIDE
flash, over some text in a paragraph. Firebug now DO NOT displays ANy
error.

Who knows why?
On IE6 and 7 it is OK. Even in mozilla works perfectly but the
annoying weird error in firebug is always there.
Any help?
I thought would be nicer to embed dinamically flash with jquery and
maybe that would solve the 'problem'.


Thanks
GC