What is Javascript alternative for this:
$('#clientDetailModal #heightValue')
I need it because in my code this works:
document.getElementById('heightValue').checkValidity()
but this doesn't:
$('#clientDetailModal #heightValue').checkValidity()
And I need to select only heightValue within clientDetailModal div.
checkValidityfunction is. Seems like it is exposed on DOM elements and not on jQuery object.$('#clientDetailModal #heightValue')in jquery it's the same as doing this:$('#heightValue')but slower.