Totally totally off-topic javascript question

Evenin' people - can anybody help me here?
Internet Explorer will just not work for me with a bit o' script that works fine in Moz/Firefox.

This is the gist of it (and feel free, nay obliged to laugh at my code :):


now all this is doing is parsing characters from a string, testing to see if they're alphabetical, then getting the equivalent for them from an array (it's a shoddy method of encryption) and adding it to a new string, or it just plainly routes them to the new string if they're non-alpha.

However, IE just makes everything non-alpha appear as 'undefined' - Mozilla fat & Firefox both add the non-alpha characters to the string correctly. Any ideas? THe bit that doesn't seem to work is:


Thanks!
_________________
http://www.slitscan.tk
Insignians Destroyed! I Have Won!


[ This Message was edited by: b00mzi11a on 2004-10-01 15:07 ]

[ This Message was edited by: b00mzi11a on 2004-10-02 03:10 ]
Post edited by b00mzi11a on

Comments

  • edited October 2004
    OK, found it meself! Totally standard spastic-mistake there...


  • edited October 2004
    Strange question this, but are you doing M150 by any chance?
    My test signature
  • edited October 2004
    hehe - yep, forced to regurgitate years of coding and stuff just to get a measly Bsc. Another 2 years and I'll be done, and then I'll have a handy piece of paper, and exactly the same amount of knowledge I had before.. Oh, and I'll be about 3000 quid lighter.

  • edited October 2004
    What a weird coincidence. I have submitted mine today as well!
    My test signature
  • edited October 2004
    excellent - it was lucky my tutor sent me an email yesterday, because I'd totally forgotten about it ;)

  • edited January 2005
    How did you get on? I got 95% on this one.
    Rather strange though, I got a letter from the OU saying I had failed, and not to pursue courses in I.T. This letter came 2 weeks before the exam results!

    I also did M206 last year, and fell asleep in the exam after doing 40% of it. Managed to pass it though! Just goes to show the standards of higher education in this country..
    My test signature
Sign In or Register to comment.