Hi Pra,
Sorry it took so long. Here is a full example:
This is my view (file name is 'index.rhtml'):
<%= javascript_include_tag :defaults %>
Select one: <%= select_tag 'my_select', 'onetwothree' %>
<%= render :partial => 'input_field' %>
<%= observe_field 'my_select',
:frequency => 0.
Hi Pra,
Sorry, I have been (still am) busy. I'll try to give you an example
ASAP but it might take me a little while. Hopefully soon.
Pepe
On Dec 20, 2:23 pm, Pra Ng wrote:
> Pra Ng wrote:
> > pepe wrote:
> >> I believe you are missing an input field for your updated value. The
> >> submit wil
Pra Ng wrote:
> pepe wrote:
>> I believe you are missing an input field for your updated value. The
>> submit will pass along the values of the input fields. Something you
>> just 'write' inside a tag will not be considered 'input' data.
>> You could try to replace the with something like <
>> %
pepe wrote:
> I believe you are missing an input field for your updated value. The
> submit will pass along the values of the input fields. Something you
> just 'write' inside a tag will not be considered 'input' data.
> You could try to replace the with something like <
> %= :chapter.field_text
I believe you are missing an input field for your updated value. The
submit will pass along the values of the input fields. Something you
just 'write' inside a tag will not be considered 'input' data.
You could try to replace the with something like <
%= :chapter.field_text :container... %>
Pep
5 matches
Mail list logo