I use this code to get other field value:
<%= hidden_field_tag ‘project_version_select’,
$(‘other_id’).getValue()%>
but I got compile error. How can I get the value?
I use this code to get other field value:
<%= hidden_field_tag ‘project_version_select’,
$(‘other_id’).getValue()%>
but I got compile error. How can I get the value?
Hi,
You need to add the hidden_field first without a value and then set the
value of it using script tag
NAYAK
On Sat, Jan 10, 2009 at 12:05 PM, Zhao Yi
[email protected]wrote:
–
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs