# Issue with radiobutton and remote\_function in IE

**URL:** <https://www.ruby-forum.com/t/issue-with-radiobutton-and-remote-function-in-ie/68227>\
**Category:** Rails\
**Created:** [September 10, 2006, 8:27pm UTC](https://www.ruby-forum.com/t/issue-with-radiobutton-and-remote-function-in-ie/68227 "2006-09-10T20:27:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@sergey\_k](https://www.ruby-forum.com/u/sergey_k)\
**Post date:** [September 10, 2006, 8:27pm UTC](https://www.ruby-forum.com/t/issue-with-radiobutton-and-remote-function-in-ie/68227/1 "2006-09-10T20:27:20Z")

</div>

Hi there!

I did implemented the radio button with remote\_function to update some  
div via RJS.

It works perfect with FireFox, but behaves weird with IE. When I click  
the radio button  
it loads data (I see the indicator showing) but not updates the div with  
info until I click  
left mouse button anywhere.

It’s weird =(

Here is the snippet from .rhtml code

```
    <td>
        <input type=radio name="register[Customer]" value=R checked
        onchange="<%= remote_function( :update => 'CustomerPlans',
          :with => "'customer=R'",
          :loading => "Element.show('loading-indicator1')",
          :loaded => "Element.hide('loading-indicator1')",
          :complete => evaluate_remote_response,
          :url => { :controller => 'live', :action => 'select_plan'

```

} ) -%\>"  
\>Residential  
\<input type=radio name=“register[Customer]” value=B  
onchange="\<%= remote\_function( :update =\> ‘CustomerPlans’,  
:with =\> “‘customer=B’”,  
:loading =\> “Element.show(‘loading-indicator1’)”,  
:loaded =\> “Element.hide(‘loading-indicator1’)”,  
:complete =\> evaluate\_remote\_response,  
:url =\> { :controller =\> ‘live’, :action =\> ‘select\_plan’  
} ) -%\>"  
\>Business  
\<%= image\_tag(’/images/indicator.gif’,  
:id =\> ‘loading-indicator1’,  
:style =\> ‘display:none;’ ) -%\>

All the Best!  
Sergey.

---

<div class="post-metadata">

**Author:** ![sergey\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@sergey\_k](https://www.ruby-forum.com/u/sergey_k)\
**Post date:** [September 10, 2006, 11:47pm UTC](https://www.ruby-forum.com/t/issue-with-radiobutton-and-remote-function-in-ie/68227/2 "2006-09-10T23:47:40Z")

</div>

My question was:

Does anyone knows how to fix it with IE? 🙂

All the Best!  
Sergey.

---

<div class="post-metadata">

**Author:** ![sergey\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@sergey\_k](https://www.ruby-forum.com/u/sergey_k)\
**Post date:** [September 11, 2006, 12:25am UTC](https://www.ruby-forum.com/t/issue-with-radiobutton-and-remote-function-in-ie/68227/3 "2006-09-11T00:25:43Z")

</div>

Hello Sergey,  
This is almost 100% assuredly nothing to do with  
RoR/rails/ruby/Firefox or anything else, but from the sounds of it, this  
is a variant of the classic ‘peek-a-boo’ bug. For more ‘IE’ gotcha’s,  
read the webpage [www.positioniseverything.net](http://www.positioniseverything.net). Once you have, you will  
start to come to the scary conclusion that is; dont use IE 6.

```
I wish that was sarcasm.. but.. *sighs and shrugs*

Regards
Stef

```
