The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

SO when I load the page in IE it complains that bLoggedIn is undefined in a function in "myscript.js".
How do I get IE to be aware of the variables defined in the separate script block?

Thanks

Edit: After reading around some more pages it appears to be a scope issue, but also from what I've read I've done everything to make it global, so maybe its a timing issue?? Using Prototype JS library the function that is called that throws up the "bLoggedIn is undefined" is called from Event.observe(window, 'load', init); - So I have all my chickens lined up so to speak. The variables are Global, everything is suppose to be loaded due to waiting for the onLoad event to fire. I might just call an external file that is itself a php file.... bit crap. Surely this problem isn't new and someone can point me in the right direction as to what is going on here :)

SORETED: Looks like there is an issue this line "var searchParams = $H({ dateFrom: 'ship', }).toQueryString();" so I've just made it a empty string for now....

I'm really targeting FF as this is an Intranet app, but would like to know wtf is going on with IE here... The app will eventually work in IE6/7 but in terms of right now it only needs to work in FF as that's what I use :) (have a custom portable FF (stripped everything out that I could) installed (read 7-zip sfx'd, then extracted to c:\Firefox w/ a shortcut on the desktop) on the pc's of other people as they are all IE users, non computer literate types that I just say, "click that shortcut on the desktop and click that, there is the app")