Hi Ganeshji!

You could create an overlay background div with 100% in height and
width and write a small jQuery code for that.

<div class="overlay" style="width: 100%; height: 100%;"></div>
<div class="mydiv">This is the text box you have!</div>

<script>
$(".overlay").click(function() {
      $(".mydiv).hide();
});
</script>

Something like this should do the trick for you :)

Sincerley,
Magnus

On Jul 27, 6:12 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> Hi friends,
>
> I am showing a div on click of a hyperlink. Now, when i click elsewhere in
> the document other than the div itself, then i want to hide the showing
> div... Is there any easy way to do this?
>
> -GTG

Reply via email to