jquery - check which drop down was changed -


i have form want know drop down list modified. how can accomplish using jquery? know textbox controls can thing

$("input[type='text']").change(function() {         // here     }); 

but need similar drop down list controls.

$(document).ready(function(){     $('select').change(function(e){         console.log($(e.currenttarget));     }); }); 

the currenttarget attribute of event object give access specific element triggered event.


Comments