<script type="text/javascript">
$(document).ready(function () {
//$().ready(function () {
#debugger;
$('#myTable').DataTable();
$('#myTable1').DataTable();
});
</script>
上面是视图中的脚本
<script>
$(document).ready(function () {
$sidebar = $('.sidebar');
$sidebar_img_container = $sidebar.find('.sidebar-background');
$full_page = $('.full-page');
$sidebar_responsive = $('body > .navbar-collapse');
window_width = $(window).width();
</script>
以上是布局中的脚本部分。 当我在布局中添加脚本标签时,视图页面中的脚本标签没有被点击。
答案 0 :(得分:0)
try{
c = a / b; // ArithmeticException was thrown at this line
throw new ExtenderClass(); // So this line was not executed
}catch(ExtenderClass e){ // This line will catch ExtenderClass and it's sub class. However, ArithmeticException is super class of ExtenderClass, not it's sub class, so it won't be caught
System.out.println("I caught: " + e);
}
在这段代码中,我看不到固定的撑杆闭合。显然,它无法正常工作