<td class="td1">
<input name="CheckBox" id="c1" type="checkbox" CHECKED="" value="on"/>
<a class="a_c" id="a1">
</td>
If I know ID of Check box $(#c1) then how can I get text of Anchor tag?
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.
First you have to write a close this tag
Anchor has id assigned yet therefore you can get access directly:
If anchor did not have id and will be always after checkbox ( can be separated by other tags)
otherwise if will be checkbox’s sibling and in this branch is one anchor ( not necessarily just after checkbox)