Hi,
Thanks! It worked after I changed "this" to $(this). Other than that,
it was perfect. :)
-yaz
On Jan 5, 5:43 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote:
> Theres lots of ways to do it, eg:
>
> $(document).ready(function()
> {
> $('ul#content li a').click(function() { // binds
Theres lots of ways to do it, eg:
$(document).ready(function()
{
$('ul#content li a').click(function() { // binds a function
to every link in every list object in the ul called content.
$('ul#content
li').removeClass('active').addClass('inactive'); // removes the class
'
2 matches
Mail list logo