davidmontgomery-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Oct-28 23:33 UTC
TreeView Control
I am just learning RubyRails.....
I am simply trying to add a tree view control. I want to use the YUI
treeview control.
Here is my code
<% for tax in @taxonomies%>
<%=tax.parent-%> <%=tax.description-%> <br>
<script type="text/javascript">
addNode(node_id,description)
</script>
<% end %>
I have a javascript that will add a node. My question is...how do I
pass the data I get from the ruby database loop
to the javascript?
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
