why do you need to call document.getElementById() here? You can pass the id directly to the $() function