Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何能够从表单中的 collection_select 中获取选择的值?我想使用这个值来动态改变表单的内容。这听起来像是涉及javascript,但我找不到有关如何执行此操作的更多信息。谢谢。
$("#select_tag_id").change(function() { value = $(this).val(); .... })