`
bo_hai
  • 浏览: 554055 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

stack overflow at line 486 解决办法

阅读更多

1、在JSP页面有以下代码:

<s:form action="bbs/doLogin.action" name="loginForm" id="loginForm">

 

 

2、在JS文件中想通过下面的代码提交表单:

$('#loginForm').submit();

 

 

3、在页面中点击“保存”按钮后,页面上弹出“Stack overflow at line 486”,找了半天没有发现问题产生的原因。突然想想看$('#loginForm') 返回的内容,使用alert看了以下,弹出的内容是个数组,再用alert($('#loginForm').length),弹出的内容是:1 。这说明需要使用数组的方式来提交表单。JS中的代码修改如下:

$('#loginForm')[0].submit();

 

4、再进行测试,问题解决。

0
0
分享到:
评论

相关推荐

    浏览器pngfilt.dll导致出现stack overflow at line0问题注册表修复程序

    浏览器pngfilt.dll导致出现stack overflow at line0问题注册表修复程序

    解析img图片没找到onerror事件 Stack overflow at line: 0

    本篇文章主要介绍了img图片没找到onerror事件 Stack overflow at line: 0 需要的朋友可以过来参考下,希望对大家有所帮助

    js注意img图片的onerror事件的分析

    打开网页时提示 Stack overflow at line: 0。img图片的onerror事件需要注意的细节。

    Sublime Text Build 3124 x64 Setup.exe

    minihtml: Fixed a stack overflow on Windows with too many unclosed tags API: Added Phantom and PhantomSet API: Added ViewEventListener API: Added View.is_primary() API: Added EventListener.on_hover...

    DevExpress VCL 13.1.4(v2013vol1.4) 源码-例子-帮助-part2

    Q520696 - cxDBTreeList - The "Stack overflow" exception occurs when binding the tree list to a Firebird table using a TSQLTable component Q524576 - Documentation - A typo in the ...

    DevExpress VCL 13.1.4(v2013vol1.4) 源码-例子-帮助-part1

    Q520696 - cxDBTreeList - The "Stack overflow" exception occurs when binding the tree list to a Firebird table using a TSQLTable component Q524576 - Documentation - A typo in the ...

    EurekaLog_7.5.0.0_Enterprise

    11)..Fixed: Possible failure to handle/process stack overflow exceptions 12)..Changed: VCL/CLX/FMX now will assign Application.OnException handler when low-level hooks are disabled EurekaLog 7.2 ...

    The Craft of System Security

    13.13 End-of-line misinterpretation 358 14.1 Secret sharing 371 14.2 Fewer than k points 372 14.3 The basic electronic token cash scheme 373 14.4 Digital timestamping 378 14.5 Renewing old ...

    计算机网络第六版答案

    23. The five layers in the Internet protocol stack are – from top to bottom – the application layer, the transport layer, the network layer, the link layer, and the physical layer. The principal ...

    Mahout in Action

    Parsing the Stack Overflow data set 222 ■ Finding clustering problems in Stack Overflow 222 12.4 Summary 224 PART 3 CLASSIFICATION ...............................................225 13 Introduction ...

    基于mediastreamer2的网络电话实现流程以及源码库

    oss-wrapper --disable-x11 --enable-neon-opt=no --with-database=simple PKG_CONFIG_PATH=/home/protocol_stack/install/lib/pkgconfig CPPFLAGS=-I/home/protocol_stack/install/include LDFLAGS=-L/home/...

    BobBuilder_app

    Splitting a page when full is simple and does not require a tree traversal for node overflow checking as in a b+tree. Main page list updates are infrequent and hence the locking of the main page list...

    acpi控制笔记本风扇转速

    code size, and reduces CPU stack use. (Valery Podrezov + interpreter changes in version 20051202 that eliminated namespace loading during the pass one parse.) Implemented _CID support for PCI Root ...

    曲线拟合工具CurveExpert 1.0

    simultaneous instances cause stack faults. + if the data set is sorted, all interpolations are now marked invalid as they should be. + "Apply to All" did not necessarily force the current ...

    Bochs - The cross platform IA-32 (x86) emulator

    - 32-bit physical address for 386/486 guests - 36-bit physical address for PSE-36 enabled Pentium guest - 40-bit physical address for PAE enabled P6 or later guests - Update config.guess/config....

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: The PointOnLine() function calulations have "single" type numbers overflow problem (changed to "double"). - FIX: The pfJoin and pfClose flags incorrectly calculates in GetEditPathCaps(). ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Formatting Line Length Non-ASCII Characters Spaces vs. Tabs Function Declarations and Definitions Function Calls Conditionals Loops and Switch Statements Pointer and Reference Expressions Boolean ...

    一个跨平台的CString源码

    // The latest version of this code should always be available at the // following link: // // http://www.joeo.net/code/StdString.zip (Dec 6, 2003) // // // REMARKS: // This header file declares the ...

    文章管理系统

    11.解决后台编辑器之前空2格低于一个汉字的问题 12.完善几个细节问题 13.整合20121103~20121220补丁 2012年12月20日 ★更新方式:admin文件夹改成你后台目录名,然后补丁包里的所有文件覆盖进去。 1.富媒体...

    The Art of Assembly Language Programming

    Some Final Comments on the MOV Instructions &lt;br&gt;4.9 Laboratory ...at CodeView 4.9.5.2 The Source Window 4.9.5.3 The Memory Window 4.9.5.4 The Register Window 4.9.5.5 The Command Window...

Global site tag (gtag.js) - Google Analytics