Topic: range_field_tag rails 3 not working for remote calls

I am using Rails 3.0.6

The following works for select_tag

    <b> View:</b> <%= select_tag('setting_view', options_for_select(session[:view_types] ,session[:view_id]), {:include_blank => false, :class => 'viewselection', :onchange => remote_function(:url => { :action => "update_image_div"}, :update => "image_div", :with => "'view_val='+this.options[this.selectedIndex].value")}) %>      

I expected that the similar logic would work for range_field_tag, but it did not. Any ideas would be appreciated.

    <b> Transparency: </b> S <%= range_field_tag('setting_transparency', session[:transparency], {:min => 0, :max => 1, :step => 0.1, :class => 'transparencyselection', :onchange => remote_function(:url => { :action => "update_image_div"}, :update => "image_div", :with => "'transparency_val='+this.options[this.selectedIndex].value")}) %> D