JSP page load Error or DataGrid has data but page does not show

Source: Internet
Author: User

(i) uncaught syntaxerror:invalid or unexpected token vm4337:2

At the new Function () at Object.parseoptions (jquery.easyui.min.js:58) at Function.$.fn.linkbutton.parseoptions (jquery . easyui.min.js:1004) at Htmlanchorelement. (jquery.easyui.min.js:970) at Function.each (Jquery-1.8.0.min.js:2) at Init.each (jquery-1.8.0.min.js:2) at Init. $.fn.linkbutton (jquery.easyui.min.js:964) at Object.parse (jquery.easyui.min.js:24) at HTMLDocument. (jquery.easyui.min.js:93) at K (Jquery-1.8.0.min.js:2) Click Vm4337:2 in the top right corner to indicate:(function () {return {iconcls:icon-save '}}), found on the corresponding *.jsp pageFind Iconcls:icon-save, find one less ' single quote"Iconcls:Icon-save '"Onclick=" UpdateCustomer () "> Save modified to: data-options= "Iconcls:' icon-save '" (or Plus) uncaught typeerror:cannot Read property ' options ' of undefinedAt _4BB (jquery.easyui.min.js:8662) at htmltableelement. (jquery.easyui.min.js:10510) at Function.each (Jquery-1.8.0.min.js:2) at Init.each (jquery-1.8.0.min.js:2) at OBJ Ect.resize (jquery.easyui.min.js:10509) at Init.$.fn.datagrid (jquery.easyui.min.js:10261) at _resize ( customermanagerui.do:1156)At customermanagerui.do:1152 at Dispatch (Jquery-1.8.0.min.js:2) at H (jquery-1.8.0.min.js:2) query Results The DataGrid has values, but the page does not show, after The query uses the way 1 to Style $ (window). Resize(function () { _resize($ (' #customertable ')); // Call this method}); function _resize(EL) {El.datagrid (' resize ', {width: ' document.body.clientWidth * 0.99 ',//mode 1: Incorrect notation height: ' Document.body.clientHeigh T * 0.98 '});} Modify: single quotation marks should be removed (no need to add single quotes)function _resize (EL) {el.datagrid (' resize ', {width:document.body.clientWidth * 0.99,//mode 2: Correct notation HEIGHT:DOCU Ment.body.clientHeight * 0.98}); }

JSP page load Error or DataGrid has data but page does not show

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.