Jump to content

Recommended Posts

Posted

Good morning, folks. Got a bit of a javascript problem, and I hate javascript, so I figured I'll call for help.

 

I have an ASP.NET 2.0 app that relies on a lot of custom javascript on the client side. One of the things that happen is a window_onload event that checks data that came in from the server and populates some fields. Everything works fine.

 

Now we're trying to run our app inside an IFRAME, hosted inside a bigger site. Everything works - all the javascript, AJAXish calls, everything - except for that window_onload call in the beginning. We pass in initial parameters but nothing gets populated.

 

I realize that this is due to some security restrictions on IFRAMEs - the hosting app is on a different server than our app - but there's got to be some way to get this to work, right? Most everything else does seem to work.

 

Does anyone know of any javascript hacks, tricks, workarounds or solutions to this problem? Googling around I mostly found tricks to have my host's window_onload be aware of when the inner IFRAME is finished loading, but this isn't exactly my scenario.

 

Thanks.

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.   Paste as plain text instead

  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...