Can someone help me figure out how to write this jQuery
I am using jQuery to select a checkbox, highlight the row that the checkbox is in and then I want to update the value of a pick list field in that row. I am just learning... but it doesn't seem to be working all the way. Here is my code:
$(document).ready(function () {
$('.record_table tr').click(function (event) {
if (event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
$("input[type='checkbox']").change(function (e) {
if ($(this).is(":checked")) {
$(this).closest('tr').addClass("highlight_row")
$(':checkbox').siblings('td')
$(this).closest('tr').removeClass("highlight_row");
Any help would be appreciated!
Thank you!