JQuery Common
$("#chkIsRegular").is(":checked") // getvalue
$("#chkIsRegular").prop('checked', true); // setvalue
getOuterHTML
$("#tblStudents").prop("outerHTML")
getInnerHTML
$("#tblStudents").html()
getInnerText not HTML
$("#tblStudents").text()
var $root = this;
var $radio = $(this);
if ($radio.prop('checked')) {}
$this.prop('name')
var control = $("#txtName");
var controlName = control[0].tagName.toLowerCase();
if (controlName == "input") {
var controlType = control[0].type.toLowerCase();
if (controlType == "checkbox" || controlType == "radio") {
values = $("#" + id).is(":checked");
}
}
$('[data-toggle="popover"]').not('#tabGrid').addClass('hide'); //all but this
$("#tblGrid thead th[colgridvmr='itemId']").index(); //find index of Thead in table
$("#tblDailySaftySheet tr").last().css({"color":"red") //find the last child in table
Get Control Tag Name by Id?
$('#chkPrintClientSpecific')[0].tagName.toLowerCase()
Get Selected muliple checkBoxes by Id
var selectedDays = $("#divWeekDaysEsMdl input[type='checkbox']:checked").map(function () {
return $(this).attr("day");
}).get().join(",")
Last Update: July 10, 2026
Total 0 Votes:
0
0

