<input type="text" name="" id="name">
##<script type="text/javascript">
$(function(){
$('#name').change(function(){
console.log($(this))
$('this').css('backgroundColor','red');
})
})
</script>
Why this doesn’t work> $(this) gets the input when printed out on the console
More single quotes