From: Austin Ziegler Date: 2006-04-20T06:26:17+09:00 Subject: Re: Building Strings On 4/19/06, Will Merydith wrote:> I need to build the DOM id for my RJS template using an id passed to the> template. How do I add the value of an id paramater to get the DOM id I> need. For example given this call in my RJS template:>> page.replace_html "list", :partial => "show_new_list">> I want "list" to be "list" + the id I pass in. You're *probably* going to get a better answer on the rails listhttp://lists.rubyonrails.org/mailman/listinfo/rails than here, but youcould do: page.replace_html "list#{id}", :partial => "show_new_list" Maybe. -austin--Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca