LoginSignup
6

More than 5 years have passed since last update.

posted at

jQueryで「Uncaught Error: Syntax error, unrecognized expression: [name=]」というエラーが出たら

$('input[name='text']');

のような内側外側の引用符が同じことが原因。
jQueryの仕様が変わって、エラーが出るようになったみたい。

修正の方法:
【jQuery】引用符とエスケープを覚える - Qiita

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
6