Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

read this if you have giftmessage and multi-address enable and care about IE6 support
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

Error: $(item).getElementsByClassName("input-text").each is not a function

This error occurs when “Check this checkbox if you want to add gift messages to your items.” is checked.

Affected browser: IE 6 - last 4 items couldn’t load and browser freezes.
Affected file: giftmessage / inline.phtml

How to fix?  Add ‘.’ in front of ‘input-text’ on line #29

$(item).getElementsByClassName(’.input-text’).each(function(item)

It doesn’t make the error goes away from Error Console however allows IE to complete the transaction.

I have filed a bug report but though I share the finding here, so that you and your clients’ stores can get a fix before next upgrade.

Magento is very IE6 unfriendly.

 
Magento Community Magento Community
Magento Community
Magento Community
 
irwan
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-12-20
Lille, France
 

I had the same issue.
Not sure it is due to Magento, it is more related to Prototype :
http://ejohn.org/blog/getelementsbyclassname-pre-prototype-16/#postcomment

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top