开发者

Rails, select_tag, :onchange => not ajax request

I have a select tag with :onchange which updates the page with relevant data, however, I don't want to do it with Ajax because it is messing up my navigation structure.

I want to use select_tag and when开发者_C百科 they its is changed it sends a regular HTML request which refreshes the entire page.

How can I do this.


Here is a good solution:

RJS: Ajaxified select_tag

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜