How can I get other field value?


#1

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?


#2

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
removed_email_address@domain.invalidwrote:

  • NAYAK