function selectByName() { let element = $('[name="area"]'); //hide the element element.hide(); }
let selector = document.getElementsByName('area'); let element = $(selector);
function selectByName() { let element = $('[name="area"]'); //hide the element element.hide(); }
let selector = document.getElementsByName('area'); let element = $(selector);