Jquery

Jquery

am 15.02.2011 22:59:06 von Ethan Rosenberg

I have the following Java script program, called js_test3.html:





javascript Example Page




This is a heading


This is a paragraph.


This is another paragraph.






which I cannot get to run. If I click on the text, or the button,
nothing happens. The links in the program are to my son's computer,
and have to be changed. I tried to link directly to the Jquery site,
with no luck.

Help and advice, please.

Thanks.

Ethan


MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Jquery

am 15.02.2011 23:04:10 von David Harkness

--0016363ba666110b95049c5958c1
Content-Type: text/plain; charset=ISO-8859-1

I see firebug-lite-debug.js but not jquery.js. Does firebug include jquery?

David

--0016363ba666110b95049c5958c1--

RE: [PHP] Jquery

am 15.02.2011 23:10:28 von Jay Blanchard

[snip]
I have the following Java script program, called js_test3.html:





charset=3Diso-8859-1" />
javascript Example Page

>
> javascript Example Page
>
>
>
>
>

This is a heading


>

This is a paragraph.


>

This is another paragraph.


>
>
>
>
> which I cannot get to run. If I click on the text, or the button,
> nothing happens. The links in the program are to my son's computer,
> and have to be changed. I tried to link directly to the Jquery site,
> with no luck.
>
> Help and advice, please.
>
> Thanks.
>
> Ethan
>
>
> MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)]
>
>

The Javascript you've included is
"https://getfirebug.com/firebug-lite-debug.js". Firebug won't run
jQuery! You need something like one of these:

https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.mi n.js
http://ajax.microsoft.com/ajax/jquery/jquery-1.5.min.js
http://code.jquery.com/jquery-1.5.min.js

Though if you're testing locally, you're better off downloading jQuery
to your machine.

Toby


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Jquery

am 21.02.2011 13:56:48 von Ellis Antaya

--000e0cd1e32475998d049cca668d
Content-Type: text/plain; charset=UTF-8

Hi, first, like everyone else before me told already, you forgot to load
jquery in your page.
Example :


Also, i would change your script to remove the first function that was
wrapping everything.
$(document).ready is enough.



On Tue, Feb 15, 2011 at 17:10, Jay Blanchard wrote:

> [snip]
> I have the following Java script program, called js_test3.html:
>
>
>
>
>
> javascript Example Page
>