【发布时间】:2015-03-11 21:01:20
【问题描述】:
我对这段代码有疑问:
<script type="text/javascript">
$(document).ready(function () {
$("a.show").click(function () {
$("#Box").slideDown(500);
//if i return false the message conformation show and stopped but i have
//problem the Query String this not passing in the URL
// and if i return true the message show and hide quickly but
//the QueryString passing in the URL
});
});
</script>
注意: 在我的解决方案中,我已经做了 消息确认 来删除,但我会设计我的消息框,如果客户点击我会做两个按钮(是,否)是的,删除执行的代码(在此代码中,我有 Query String :()
【问题讨论】:
-
你能告诉我们问题是什么吗?不清楚
-
问题是当我返回 false 时,查询字符串没有传入 URL 并且我的消息框显示(在我的类 css 中是隐藏的)。如果我返回 true,则查询 syting 会传入 URL,但我的消息会快速显示和隐藏!
标签: javascript c# jquery asp.net