こんにちは、jquery を介して css の複数の属性を適用するために、次のコードを使用しています。私のコードは
$("div:contains('Awais')").css( {text-decoration : 'underline', cursor : 'pointer'} );
JavaScript エラーが発生する
missing : after property id
$("div:contains(John)").css( {text-dec...: 'underline', cursor : 'pointer'} );
しかしtext-decoration
、プロパティを削除すると、エラーは消えます。このコードの問題点