在一次铁路预报之后,Im 冲入铁路和Im ,以添加日期标语,但当我点击案文现场时,日子公司确实 t,而我这样说,我有很困难的时间,难以确定如何击落。
JS and CSS includes in my application.html.erb
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<%= stylesheet_link_tag blueprint/screen , :media => screen %>
<%= stylesheet_link_tag blueprint/print , :media => print %>
<%= stylesheet_link_tag blueprint/plugins/fancy-type/screen , :media => print %>
<!--[if lt IE 8]><%= stylesheet_link_tag blueprint/ie %><![endif]-->
<%= stylesheet_link_tag custom , :media => screen %>
<%= stylesheet_link_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/base/jquery-ui.css" %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js", "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js" %>
在这里,我所说的话......
<%= form_tag({:controller => "drills", :action => "create"}, :method => "post") do %>
.
.
.
<div class="field">
<%= label_tag("Date Scheduled") %> <br />
<%= text_field_tag(:scheduled_for) %>
</div>
<div class="actions">
<%= submit_tag("Save") %>
</div>
<% end %>
and my application js code where I link the DatePicker to the form
$(function() {
$("#scheduled_for").datepicker();
});
所有已提供的超文本看重的是罚款,因此我不知道要检查什么。 你们的想法?
Thanks so much for your help!