I can assign the value with
<%=link_to_function("alert", nil, :id => "alert") do |page|
page.assign 'count', 1
page.alert(count)
end
%>
How can I use the value of count once I assign it some value?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---