Jump to content

jQuery: .load() issues opening popup window


rklockner

Recommended Posts

I'm fairly new when it comes to jQuery, but I am learing quickly; however, I am stuck...

 

I have a function that when an <a> tag of a particular class is clicked, it adds a div layer that fades out the background, then adds a div on top of the fade as a popup box.  This works great in most of the site, however, there is a section of the site that has a lot of the same data (and there is a lot of it) being loaded on every page.  Instead of loading the data on every page, I decided to use $('#lead_content').load() to load the necessary data on the page. 

 

Everything works fine in IE8.

 

However, in IE7, if I use the popup box in the initial page it works fine but, the portion that loads through the .load() cannot create the box that pops up.

 

I'm sure it has to do with limitations of .load(), but I am hoping that someone might have a workaround.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.