hi,


i am using popup box for alert for repeated items with some
dynamic values to display in my popup
i have saved all values in @employee variable and when it call pop
using button click it does't shows me data that is in @employee
like
<div id="popup">
Employee list filtered
<% @employee.each do |emp|%>
name <%= emp.name%>
department <%= emp.dept %>
<% end %>
</div>

only "Employee list filtered" is seen in popup on other dynamic
values are not displayed in it
could any one provide me solution ?

thanks,
-pab

--
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.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 8 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 4, '11 at 1:15p
activeOct 7, '11 at 9:56a
posts8
users3
websiterubyonrails.org
irc#RubyOnRails

3 users in discussion

Pab: 4 posts Colin Law: 3 posts Tim Shaffer: 1 post

People

Translate

site design / logo © 2021 Grokbase