JavaScript Editor Ajax toolkit     Ajax website 



Main Page

The code contains a deprecated expression. A preferred alternative expression performs the same task. Use the new approach, since the support for deprecated expressions may be dropped in later versions of the language.

To correct this error

  1. Use the encodeURI Method instead of the escape Method.

  2. Use the getFullYear Method instead of the getYear Method.

  3. Use the setFullYear Method instead of the setYear Method.

  4. Use the substring Method instead of the substr Method.

  5. Use the toUTCString Method instead of the toGMTString Method.

  6. Use the decodeURI Method instead of the unescape Method.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference



JavaScript Editor Ajax toolkit     Ajax website


©