I am trying to alert something whenever a drop-down box changes and whenever something is typed into an input. I don’t think I can use change for input fields? What would you use for input fields? Also, what about input fields of type file? Same thing. Here is what I have so far and it’s not working:
$('input#wrapper, select#wrapper').change(function(){
alert('You changed.');
});
You can bind a keypress event to the text box.
In your sample you have used the same id for the text box and the select box. Change this also.