echo '<script>alert("插入成功")</script>'; <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');include(dirname(__FILE__).'\admin\base_controller.php');class Gb extends Base_Controller { public function __const…
echo '<script>alert("插入成功")</script>'; <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); include(dirname(__FILE__).'\admin\base_controller.php');class Gb extends Base_Controller { public function __cons…
一直很奇怪 哪种写法更好<script type=“text/javascript”>…</script> or <script>…</script>? 大致解释就是 如果用H5 就不需要加,因为H5默认属性就是text/javascript, 而 HTML 4.01 and XHTML 1.0 规范 type 属性是需要的,如果用H5<script>...</script> 是可以且比较好的选择. 参考:http://stackov…