Re: Problems with link_to_remote

user splash
2008-01-24T06:59:05Z

>
> Sorry I misssed out my controller.
>
> In my controller:
>
> def add_item
> render(:inline => %{
> TEXT FOR BIN
CODE 1
> <%= n.text_field :item
%>
> })
>   end
>
>
>
> When I click the link, I got this error, undefined local variable or
> method `n'' for #<#<Class:0x482c428>:0x482c400>. When I
take away the n,
> I got this error, wrong number of arguments (1 for 2). Where did I go
> wrong and adding on to the previous questions, how can I display the
> things that will show after I click the link in the correct place, which
> is under the td tag of the orginal?

Hi,
Can anyone please help me with the above two posting''s questions?

Thank you