On Mon, Feb 21, 2011 at 7:56 AM, Ellis Antaya <ellis.ant...@gmail.com>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

Reply via email to