You can use toggle():

$("a").click(function() {
    $('#Content').toggle();
});

On Nov 8, 2007 7:06 PM, shapper <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I have an anchor on my page.
> When I click it I want to Toggle the visibility of a Div with ID =
> "Content".
>
> If the div is visible then it should become invisible.
> If it is invisible them it becomes visible.
>
> How can I do this?
>
> Thanks,
> Miguel
>
>


-- 
Ted

Reply via email to