product.php
<a data-toggle="modal" data-target="#quick_edit" href="quick_edit.php?productid=<?php print $row['productid'];?>" class="btn btn-xs btn-success"><i class="fa fa-share"></i></a>
<div class="modal" id="quick_edit" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
</div>
</div>
</div>
这是远程模态文件[quick_edit.php]
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="text-danger fa fa-times"></i></button>
<h4 class="modal-title" id="myModalLabel"><i class="text-muted fa fa-shopping-cart"></i> <strong>Product</strong></h4>
</div>
<div class="modal-body">
<form method="post" id="productForm" name="productForm">
<input type="hidden" name="prod_id" value="" />
<div class="form-group">
<label class="col-md-4 control-label">Enter tags</label>
<div class="col-md-8">
<input type="text" id="example-tags" name="example-tags" class="input-tags" value="HTML, CSS, Javascript">
</div>
</div>
<div class="form-group">
<div class="col-xs-12">
<br>
<button class="btn btn-success" type="submit" name="confChange"><i class="fa fa-check-square-o"></i> Change</button>
<button class="btn btn-default" type="reset" data-dismiss="modal" name="reset"><i class="fa fa-refresh"></i> Reset</button>
</div>
</div>
</form>
</div>
<div class="clearfix"></div>
<br />
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
在MODAL的正文部分,我想为TAGS,DATEPICKER或其他jquery插件使用jquery插件,但它不会加载
感谢专家解决方案
答案 0 :(得分:0)
您是否包含 JQUERY ?
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
请同时更好地指出您的问题,因为我们不知道完全您想要包含哪些内容&#39;这个 JQUERY 插件。