javascript - Jquery Change event for input and select elements -
i trying alert when ever drop down box changes , when ever typed input. don't think can use change input fields? use input fields? also, input fields of type file? same thing. here have far , not working:
$('input#wrapper, select#wrapper').change(function(){ alert('you changed.'); });
thanks all
you can bind keypress event text box.
$("#wrappertext").bind("keypress", function(){ // code });
in sample have used same id text box , select box. change also.
Comments
Post a Comment