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 を使用して HTML テーブルに列が存在するかどうかを確認するにはどうすればよいですか。
サーバー側で動的テーブルを作成しており、HTML テーブルに列が存在するかどうかを確認し、それに基づいてコールバックを実行する必要があります。
HTML テーブルを動的に作成できる場合は、ID またはクラスをすべての列にアタッチできます。
特定の要素の量を次のように取得できるため、$('element').size(); これがゼロに等しいかどうかを確認できます。
$('element').size();
サーバーが列を返したら、それぞれにIDを与えてから、
$("#idhere")
I am trying to fetch List from table FlexiBooking and then add this to another list i.e. to move to another table and delete those entries fetched from this table. I have used