Initially there are only th in in the table.My question is that from jquery how to detect if the table has any tds which would be later added at some point of time
<table>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
</table>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An even more simple query would be this:
$('table td').length