I think your "close" link is in the wrong scope for what you want to do. You probably want to have something along these lines:
<div id="the_pop_up_div"> [close link] <div> [external content here] </div> </div> On Wed, Nov 26, 2008 at 12:30 AM, Namrata Vagyani <[EMAIL PROTECTED]>wrote: > yes the content of pop-up is in external file. > I tried with ID also but not able to hide it. > > On Tue, Nov 25, 2008 at 10:41 AM, brian <[EMAIL PROTECTED]> wrote: > >> Is the content of the pop-up (including the "close" link) an external >> file? >> >> In any case, why not just give the pop-up div an ID? >> >> >> On Tue, Nov 25, 2008 at 12:05 AM, Namrata Vagyani < >> [EMAIL PROTECTED]> wrote: >> >>> This is also not working :( >>> >>> On Mon, Nov 24, 2008 at 7:51 PM, Isaak Malik <[EMAIL PROTECTED]> wrote: >>> >>>> Try: >>>> >>>> $(this).parents('.popup_window_wrapper').hide(); >>>> >>>> >>>> On Mon, Nov 24, 2008 at 6:08 AM, Debby <[EMAIL PROTECTED]>wrote: >>>> >>>>> >>>>> Hi all, >>>>> >>>>> On click of hyperlink, i am cerating one popup which is under one div >>>>> having class but no id. >>>>> On click of "close window" hyperlink in the popup i want to hide this >>>>> popup. >>>>> But not able to hide this. >>>>> I tried this, but not working >>>>> $(this).parent('.popup_window_wrapper').css({'display':'none'}); >>>>> >>>>> popup_window_wrapper: Is the class of popup div. >>>>> >>>>> Please help me. >>>>> >>>> >>>> >>>> >>>> -- >>>> Isaak Malik >>>> Web Developer >>>> >>> >>> >> >