# Observe\_field not working with Internet Explorer

**URL:** <https://www.ruby-forum.com/t/observe-field-not-working-with-internet-explorer/111940>\
**Category:** Rails\
**Created:** [August 13, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/observe-field-not-working-with-internet-explorer/111940 "2007-08-13T18:00:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jspencer78](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Post date:** [August 13, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/observe-field-not-working-with-internet-explorer/111940/1 "2007-08-13T18:00:49Z")

</div>

I have the following observe field in one of my rhtml files:

\<%= observe\_field(“order\_plan”, :frequency =\> 0.2, :url =\> {:action =\>  
:update\_list}, :with =\> “id”) %\>

this works fine in firefox but Internet Explorer (6 and 7) causez my  
code to fail.  
For some reason when the observe\_field calls the update\_list it passes  
the value of null for id

…, “id”=\>“null”, …

Does anybody know why Internet explorer is doing this?

Thanks,  
James

---

<div class="post-metadata">

**Author:** ![jspencer78](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Post date:** [August 14, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/observe-field-not-working-with-internet-explorer/111940/2 "2007-08-14T16:50:56Z")

</div>

the mystery continues. I got rid of the observe field and changed it to  
an onchange event in the select item but it still does the same.

Although i did notice it only returns null the first time, any further  
onchange events cause the right id to be passed.

has anybody else has a similar problem?
