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.