JQueryのセレクタに関して質問させていただきます。
下記のformタグclass=email_form内のclass="text1"に対して影響させたい場合、JQueryのセレクタはどのように記述すればよろしいのでしょうか?
HTML
1<form class="email_form" method="post"> 2 <input type="text" class="text1"> 3 <input type="text" class="text2"> 4 <input type="checkbox" name="first-name" class="text1"> 5 <input type="checkbox" name="first-name" class="text2"> 6 <input type="email" class="text1"> 7 <input type="email" class="text2"> 8 <input type="radio" class="text1"> 9 <input type="radio" class="text2"> 10</form> 11 12<form class="password_form" method="post"> 13 <input type="text" class="text1"> 14 <input type="text" class="text2"> 15 <input type="checkbox" name="first-name" class="text1"> 16 <input type="checkbox" name="first-name" class="text2"> 17 <input type="email" class="text1"> 18 <input type="email" class="text2"> 19 <input type="radio" class="text1"> 20 <input type="radio" class="text2"> 21</form> 22 23<form class="email_form" method="post"> 24 <input type="text" class="text1"> 25 <input type="text" class="text2"> 26 <input type="checkbox" name="first-name" class="text1"> 27 <input type="checkbox" name="first-name" class="text2"> 28 <input type="email" class="text1"> 29 <input type="email" class="text2"> 30 <input type="radio" class="text1"> 31 <input type="radio" class="text2"> 32</form>
ご教授お願い致します。

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/05/06 09:08