Skip to content Skip to sidebar Skip to footer

How Can I Find The Checkbox Element In The Same Td Element Using Its Class Name

I have two column in a table one with checkbox and another is Input element. I am trying to find the checkbox element from javascript and to get checked from javascript . Here is

Solution 1:

You mean

$(this).closest("tr").find("[data-tag=NormalHrs]").prop("checked",true);

Solution 2:

You can find your checkbox by writing query .find('input[type="checkbox"]')

Post a Comment for "How Can I Find The Checkbox Element In The Same Td Element Using Its Class Name"