Rails: how to get value from another field when executing an onchange remote function in textfield

时光毁灭记忆、已成空白 提交于 2019-12-04 20:55:30

use prototype selectors $(#reservations_pick_up_time).value

the :with attribute is just a place for you to write JS code that it will display inline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!