Jsvalidtion error: JavaScript Validation framework runtime error typeerror: Undefined any running error

Source: Internet
Author: User

Check the following items:

1. The validation-config.xml, validation-framework.js, validation-confi.dtd these three files are copied to the root directory of the website, you can first create a directory such as JS storage. 2. In the validation-framework.js 21st line changed to "/webprojectname/JS/", a few diagonal lines can not be less. 3. The javascript code in the HTML page that calls the Verification MethodCodeIt should be written like this: <script language = "JavaScript" src = "/webprojectname/JS/validation-framework.js"> </SCRIPT>. The front slash cannot be missed.

If this setting does not work, try IE browser. That's how I solve it.

So be sure to use the Firefox browser and try again as follows:

Modify the Validation-config.xml to gbk in the UTF-8 file as follows: <? XML version = "1.0" encoding = "GBK"?>

Related Article

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.