How to put onmousewheel=return(false) into <%=select ...%>?

Can anyone help me to put the javascript statement
onmousewheel=return(false) into a rhtml view file inside a select- <
%=select …%>


I found out how!

<%= select :individual, :state, Individual::STATES, {}, {:onmousewheel
=> “return false”} %>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs