abstract (1) [Avatar] Offline
#1
Hello,
Thanks for a really awesome book! I have some problems with the refactored combo box in chapter 9. After days of tweaking and hacking I finally got the scripts to work perfectly... in firefox and IE. I was just about to show it to the customer when I passed on the url to a friend of mine using Safari. And as you can see from the subject it didn't work.

I debugged for some time and found that the error lies in the getElementContent: function(element,tagName)-function. When the script is run in Safari, the call var element.getElementsByTagName(tagName)[0]; returns undefined, and the slave combo box ends up not being populated. This error occurs only in the Safari browser; it works fine in Firefox and IE.

Please help me with a workaround or something similar
Thanks in advance
olof