# Remote\_function in IE with select input onchange

**URL:** <https://www.ruby-forum.com/t/remote-function-in-ie-with-select-input-onchange/155720>\
**Category:** Rails\
**Created:** [December 15, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/remote-function-in-ie-with-select-input-onchange/155720 "2008-12-15T23:48:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nik\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ee59a6/32.png) [@Nik\_B](https://www.ruby-forum.com/u/Nik_B)\
**Post date:** [December 15, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/remote-function-in-ie-with-select-input-onchange/155720/1 "2008-12-15T23:48:38Z")

</div>

Here is the code:

[http://pastie.org/339967](http://pastie.org/339967)

Generated HTML: [http://pastie.org/339969](http://pastie.org/339969)

This works great in Gecko and Webkit based browsers, but IE throws an  
error: “Object doesn’t support this property or method”. Any clues?

Thanks,  
Nik

---

<div class="post-metadata">

**Author:** ![Nik\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ee59a6/32.png) [@Nik\_B](https://www.ruby-forum.com/u/Nik_B)\
**Post date:** [December 16, 2008, 3:50am UTC](https://www.ruby-forum.com/t/remote-function-in-ie-with-select-input-onchange/155720/2 "2008-12-16T03:50:15Z")

</div>

Curious, how was the onchange event generated? Did you use  
remote\_function?

It’s been a while since I’ve used prototype for these calls - but I  
know for a fact that this works using the jrails plugin and just  
adding an onchange event to the pulldown via jquery and  
remote\_function.

HY
