<?php
//在php中药想使用jquery,首先需要导入jquery类库
echo "<script src='".base_url('static')."/js/jquery-1.10.2.min.js'></script>
<script>$(window.parent.document).find('#login_error').html('".$msg."').show();</script>";
?>
<?php
//在php中药想使用jquery,首先需要导入jquery类库
echo "<script src='".base_url('static')."/js/jquery-1.10.2.min.js'></script>
<script>$(window.parent.document).find('#login_error').html('".$msg."').show();</script>";
?>
转载于:https://www.cnblogs.com/zrp2013/p/3665623.html