rubyonrailsin

A Ruby and Rails talk

Tuesday, March 30, 2010


Re: [Rails] simpe help needed

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

On 30 March 2010 19:21, tom <tomabroad@gmail.com> wrote:
> <div id="inner_content_ibox_#{job.id}" style="display:none;" >
>
> what is wrong with the ID of the DIV?

The "job.id" call isn't inside Ruby delimiters, so it's just getting
rendered as HTML.
You want:

<div id="inner_content_ibox_<%=job.id%>" style="display:none;" >

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive