←
Home
Subscribe
Rails的hash对象传递到javascript变量
October 1, 2012
var
obj
=
JSON
.
parse
(
'<%= hash.to_json.html_safe %>'
);
Comments
Please enable JavaScript to view the
comments powered by Disqus.