我根据输入的日期搜索字段.
问题是每当我提交表单时,搜索结果都会很好,但搜索字符串会在页面重新加载时从字段中消失.
任何人都可以告诉我如何在字段中保持搜索字符串.
我使用ruby形式,下面是代码..
<%=form_for :messages, url: url_for( :controller => :time_sheets, :action => :late ), :html => { :id => "submitForm1" } do |f| %>
<div class="field">
<tr>
<td> From Date <%= f.text_field :leaveFrom, :id => 'datepicker2', :class => 'phcolor','data-validation' =>'required', :readonly => true %></td>
<td> To Date <%= f.text_field :leaveTo, :id => 'datepicker7', :class => 'phcolor', :readonly => true %></td>
<td >Late Time<%= f.text_field :on_duty, :id => 'timepicker5' %></td>
<div class="actions">
<td style="position: absolute;right: 178px;"><input type="button" class="btn btn-primary" id="submitid" …Run Code Online (Sandbox Code Playgroud) 在这个应用程序中有四个角色,
角色可以通过编辑url id进入未经授权的页面,并对页面的可用选项执行操作,误导应用程序的故障.
任何人都有这个想法.这是关闭会话或路由permition问题的问题...提前感谢
我在我的应用程序中使用 bing 地图进行搜索。兵图V8控制。
我用过这个 CDN
<script type='text/javascript' src='http://www.bing.com/api/maps/mapcontrol?callback=GetMap&key=api_key' async defer></script>
Run Code Online (Sandbox Code Playgroud)
之后,当我尝试使用 Microsoft.Maps 时。它在说:
Uncaught ReferenceError: Microsoft is not defined
new Microsoft.Maps.Color(100,100,0,100);
Run Code Online (Sandbox Code Playgroud)
有没有人对此有想法?