如何调试 javascript:WebForm_DoPostBackWithOptions?
在我的页面上此链接不起作用。
<a id="dnn_ctr1587_EditEventsCalendar_cmdUpdateReturn" title="Update & Return" class="CommandButton" href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("dnn$ctr1587$EditEventsCalendar$cmdUpdateReturn", "", true, "", "", false, true))'>Update & Return</a>
如何调试以找出哪个字段阻止此代码提交,以便修复该错误?
On my page this link isn't working.
<a id="dnn_ctr1587_EditEventsCalendar_cmdUpdateReturn" title="Update & Return" class="CommandButton" href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("dnn$ctr1587$EditEventsCalendar$cmdUpdateReturn", "", true, "", "", false, true))'>Update & Return</a>
How do I debug to figure out what field is stopping this code from submitting so I can fix the bug?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Chrome 最适合我:
WebForm_DoPostBackWithOptions
(我必须在每个文件的搜索框中按 Enter 才能刷新搜索结果)PS 最初我尝试使用 FireFox 进行调试。 JavaScript 将所有内容显示在一行上。 Chrome 很好地缩进了它,这样我就可以知道发生了什么。
Chrome worked best for me:
WebForm_DoPostBackWithOptions
(I had to hit enter in the search box on each file to get the search results to refresh)P.S. initially I tried debugging with FireFox. The javaScript was showing all on one line. Chrome showed it nicely indented so I could tell what was going on.