Re: Jquery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 21, 2011 at 7:56 AM, Ellis Antaya <ellis.antaya@xxxxxxxxx>wrote:

> Hi, first, like everyone else before me told already, you forgot to load
> jquery in your page.
> Example :
> <script type="text/javascript" src="
> http://code.jquery.com/jquery-1.5.min.js
> "></script>
>
> Also, i would change your script to remove the first function that was
> wrapping everything.
> $(document).ready is enough.
>

Actually, he can remove the $(document).ready function and leave the outer
function function, as this is a shorthand for the ready call:
http://api.jquery.com/ready/

<http://api.jquery.com/ready/>Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux