Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一致するクラスで最も近い列の高さを変更する方法jqueryを使用してボタンをクリックするとabcと言いますこれは私が持っているものですこの行の変更される関数が適用されるボタンがあります
私に何ができる
これを試して:
$("#btn").click(function(){ $(this).closest(".abc").css("height","150px"); })
このようなものを使用してください
$(document).ready(function(){ $("#submit").click(function(){ $(this).closest(".abc").width(20) }) })