index.rhtml
来自「RubyonRailsC.zip ruby on rails的源码」· RHTML 代码 · 共 16 行
RHTML
16 行
<html>
<head>
<title>observe_to_remote测试</title>
<%= javascript_include_tag "prototype" %>
</head>
<body>
<p>
<%= radio_button(:time, :now, "show") %>显示时间<br/>
<%= observe_field(:time_now_show,
:frequency => 1,
:update => :time_show_place,
:url => {:action => :time_show}) %>
<div id="time_show_place"></div>
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?