You should use

*$("#test").is(":visible")*

to confirm whether the div is shown or hidden.

Best,
BeCoDeR.
On Fri, Oct 16, 2009 at 3:02 PM, Evgeny Bobovik <bobo...@gmail.com> wrote:

>
> Try to use this method:
> <script type="text/javascript">
> function showEmbed(){
>     if($("#test").css('display') == 'block'){
>         $("#test").css('display','none');
>    } else {
>         $("#test").css('display', 'block');
>   }
> }
> </script>
>   Gk___
>
>
>
>
> 2009/10/16 ngreenwood6 <ngreenwo...@gmail.com>:
> >
> >
>

Reply via email to