Paula Clone?



  • I couldn't help but let out a chuckle at another person blaming IE for thier coding woes ..

    http://www.bytemycode.com/snippets/snippet/471/

     

     I like the "I RULE!!"



  • IE ate my homework.



  • He seems to have got a Geocities or Tripod hangover.



  • WTF? He's blaming Firefox, not IE:

     

    The problem is that some DOM parsers aren't keen on, or are ignorant to, this use of the name attribute, so a simple object.name returns undefined. In my case, it was a DIV in Firefox 1.5 that was behaving this way.



  • [quote user="bugmenot"]

    WTF? He's blaming Firefox, not IE:

     

    The problem is that some DOM parsers aren't keen on, or are ignorant to, this use of the name attribute, so a simple object.name returns undefined. In my case, it was a DIV in Firefox 1.5 that was behaving this way.

    [/quote]

     You might have missed his additional comment wherein he also blames IE. It's not his fault, it's Firefox and IE. If only they were like Ruby.

    It turns out that getElementsByName() doesn't work very well in IE. To work around this, I've created a method that extends the document model that will work with IE.

    I also cleaned up some missing semicolons because I've been coding in Ruby all day.



  • [quote user="bugmenot"]

    WTF? He's blaming Firefox, not IE:

     

    The problem is that some DOM parsers aren't keen on, or are ignorant to, this use of the name attribute, so a simple object.name returns undefined. In my case, it was a DIV in Firefox 1.5 that was behaving this way.

    [/quote]

     You might have missed his additional comment wherein he also blames IE. It's not his fault, it's Firefox and IE. If only they were like Ruby.

    It turns out that getElementsByName() doesn't work very well in IE. To work around this, I've created a method that extends the document model that will work with IE.

    I also cleaned up some missing semicolons because I've been coding in Ruby all day.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.