阅读背景:

在Rails中,获取显示名称但使用ID的自动完成的最佳方法是什么?

来源:互联网 

I want to have a text box that the user can type in that shows an Ajax-populated list of my model's names, and then when the user selects one I want the HTML to save the model's ID, and use that when the form is submitted.I want to have a text box that the user can typ




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: