I have some input (text type). I’d like to the same behavior for all except for one.
I tried this :
$(document).ready(function() {
$("input[type=text]").bind('keydown', function(e) {
....
});
$("#MyOtherInput").keydown(function(e) {
.....
});
});
MyOtherInput is the input type texte with a specific behavior ….
Could you help me ?
Thanks,
Try this:
It will select all the input with type text except myotherinput control.Try below example.