> it's caused because I was loading the file into Firefox locally. If I > upload it to our server and run it, it works fine. > > this was bcoz of some cross domain access policy in mozilla. I just > found it after seeing the error console msg.
I'm glad you found the problem! As a side note, this is why I always ask people to post a link. There is no way for us to know that you're running stuff off the local file system. By setting up a link you, or someone else on the list, would have discovered the problem much sooner. Mike