在我的按钮上调用 .button() 后,它们将显示在我的子菜单顶部。为了更好地解释,这是一个屏幕截图:
我在 MasterPage 上调用我的 jQuery:
<script type="text/javascript">
$(function (e) {
$("button, input[type='button'], input[type='submit']").button();
});
</script>
我引用了 google 的 jQuery 的 1.5 和 1.8 jquery 脚本。(否则我的 .button() 不起作用并出现脚本错误,例如“对象 [对象对象] 没有方法按钮”)
为什么会发生这种情况,我该如何改变它?
谢谢。