# A strange error with javascript and safari

**URL:** <https://www.ruby-forum.com/t/a-strange-error-with-javascript-and-safari/117561>\
**Category:** Rails\
**Created:** [October 18, 2007, 3:28am UTC](https://www.ruby-forum.com/t/a-strange-error-with-javascript-and-safari/117561 "2007-10-18T03:28:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emuen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emuen](https://www.ruby-forum.com/u/emuen)\
**Post date:** [October 18, 2007, 3:28am UTC](https://www.ruby-forum.com/t/a-strange-error-with-javascript-and-safari/117561/1 "2007-10-18T03:28:23Z")

</div>

Hi there. I have attached my file, containing the javascript, that does  
work in FF but not in Safari. The problem is, that the selectbox is not  
filled in Safari, as it should be. Is there a special way to do it for  
Saf?

- Emil
