selector html code example
Example 1: do some css using js on selector
let myElement = document.querySelector("#superman");
myElement.style.backgroundColor = "#D93600";
Example 2: name class and id referance in ajax
$('td[name ="tcol1"]') // matches exactly 'tcol1'
$('td[name^="tcol"]' ) // matches those that begin with 'tcol'
$('td[name$="tcol"]' ) // matches those that end with 'tcol'
$('td[name*="tcol"]' ) // matches those that contain 'tcol'