hasan's blog (বল্গ)

work for fun!!!

internet explorer expected identifier, string or number

with 6 comments

huh, IE is one of those curses which came down to earth from the hell.
anyway if you face such problem you should check the following stuffs -

1. this guy described about the first problem
2. here is what i have faced and resolved,

i had a javascript code like this -

var element = new Element(”a”, {class: “keyboard_option_link”, href: “javascript: void(0)”});

so IE minds, because i have used “class” the fix i have used -

var element = new Element(”a”, {“class”: “keyboard_option_link”, href: “javascript: void(0)”});

this things now working fine,
best wishes,

Written by nhm tanveer hossain khan

May 25, 2008 at 11:14 pm

6 Responses

Subscribe to comments with RSS.

  1. “IE is one of those curses which came down to earth from the hell”

    I found this quite funny :)
    Unfortunately it is one of the more popular browsers amongst non-tech guys and we need to provide support for it whenever we develop something

    Shams Mahmood

    July 18, 2008 at 8:32 pm

  2. “IE is one of those curses which came down to earth from the hell”
    I found this quite funny :)

    I faced a similar problem onc with regards to commas in arrays

    Unfortunately it is one of the more popular browsers amongst non-tech guys and we need to provide support for it whenever we develop something

    Shams Mahmood

    July 18, 2008 at 8:42 pm

  3. yea you right,
    fortunately ie 7 is getting more popularity.
    eventually ie 8 shows up which is suppose to keep web standard promise.

    Administrator

    July 18, 2008 at 9:02 pm

  4. IE 8 Bta 2 is a real joy to run on the computer.
    M$ kept there promise but have a little own way of working with soms standards. Anyred, your site looks great in IE8 so you dont have to worry :-)

    Best regards

    John

    October 4, 2008 at 4:30 pm

  5. IE is one of the most advanged browser in the world of Internet and computing. Mozilla Firefox ed are used by non stetech guys because it is not reading as strict as IE does..

    IE8 is becomming a great and fast browser.. :-)

    John

    October 12, 2008 at 6:28 pm

  6. testing whether comment does work


Leave a Reply