Jeffrey L. Taylor wrote:
> Quoting Victor Martin <[email protected]>:
>> > 
>>     <remove><%= link_to_function 'Remove text field', 
>> "this.up('.text').remove()" %></remove>
>>   </p>
>> </div>
>> 
>> 
>> This is (or I try it to be) a complex forms whose text fields are in 
>> groups, and you can add and remove both text fields and groups. The only 
>> thing that is not working is the "Add group" link_to_function.
>>
> 
> Interesting.  It works for me.  If it were my code, I'd double check 
> what is
> actually there versus what you've typed into the e-mails AND look at the 
> code
> immediately BEFORE the code you've typed or pasted into the e-mails. 
> Look for
> extra or missing quotes and braces (AKA squiggly brackets).  If you have 
> an
> editor that does syntax highlighting/coloring, use it and be sure it 
> agrees
> with you on the syntax of your code.
> 
> HTH,
>   Jeffrey

Hi Jeffrey, thanks for posting!

Does it work for you? omfg, this is driving me crazy. I just copy/pasted 
my code to the forum :( I checked this a hundred times, it may be 
something I am unable to notice (since I'm quite a newbie, it's highly 
possible).

I uploaded the code here ( http://www.megaupload.com/?d=I0ZAJZOO ), just 
in case anyone has the time to check it. This is the address for the 
page where the problem is: http://yourlocalserver/collect/text

I don't know what else to do :(
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to