jQuery.error()

jQuery.error()

jQuery.error( message )Returns:

Description: Takes a string and throws an exception containing it.

This method exists primarily for plugin developers who wish to override it and provide a better display (or more information) for the error messages.

Example:

Override jQuery.error for display in Firebug.

jQuery.error = console.error;

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/jQuery.error

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部