JQuery Selectors

$(document).on(‘click’, ‘.handle’, function (e) {

});

$(document).on(‘click’, ‘.Class:not(.Exception)’, function (e) {
});

//Zero-based
var rowIndex = $(‘#Table tr’).index(element.closest(‘tr’));
var currentTrPosition = rowIndex + 1;
var currentTR = $(“#Table tr:nth-child(” + currentTrPosition + “)”);

var inputs = currentTR.find(“input”);
var selects = currentTR.find(“select”);
inputs.attr(‘disabled’, ‘disabled’);
selects.attr(‘disabled’, ‘disabled’);

var trToShow = $(‘tr#’ + nextTrId);
trToShow.removeClass(‘Invisible’);

$(‘.Class’).not(‘.Exception’).change(function () {
});

$(‘.Class.Exception’).change(function () {
});

$InputElement.closest(‘h6’).next(‘h5’).removeClass(‘Invisible’);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s