Home > Web Front-end > JS Tutorial > JQuery error Uncaught TypeError: Illegal invocation processing method_jquery

JQuery error Uncaught TypeError: Illegal invocation processing method_jquery

WBOY
Release: 2016-05-16 16:09:34
Original
4298 people have browsed it

Jquery implements Ajax asynchronous submission and reports an error "Uncaught TypeError: Illegal invocation", as shown below:

Troubleshooting found that the error is here:

Copy code The code is as follows:

data:{"search_value":$('input[name=search_value]'),"order_source":buyerType,"order_status":orderType}

$('input[name=search_value]') is an object rather than a value. The correct way to write it is $('input[name=search_value]').val()

The above is all the content described in this article, I hope you all like it.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template