文件路径的提示

This commit is contained in:
miss 2017-09-30 20:32:57 +08:00
parent bf9046ec27
commit a9826d556a
1 changed files with 6 additions and 2 deletions

View File

@ -33,6 +33,10 @@
<% end %>
<% end %>
</ul>
<div class = "clearfix mt20">
<label class="panel-form-label fl" style = "width:120px;text-align:left;">选中的文件路径:</label>
<input id = "points_tusi" placeholder = "选中的文件路径" class = "fl panel-form-width-200 panel-box-sizing" style = "width:440px;"/>
</div>
<a href="javascript:void(0);" class="task-btn task-btn-blue fr" style="margin-top: 20px;margin-left:20px;" id = "add_path">确定</a>
<a href="javascript:void(0);" class="pop_close task-btn mb10 fr" style="margin-top: 20px;" id = "back_page">取消</a>
@ -45,10 +49,10 @@
var $Path = '';
$(".old-icon-file").click(function(){
$Path = $(this).html();
return $Path;
$("#points_tusi").val($Path);
});
$("#add_path").click(function(){
$("#shixun_file_path").val($Path);
$("#shixun_file_path").val($("#points_tusi").val());
$("#popupWrap").hide();
});
$("#back_page").click(function(){