is it possible to check for focus in input[type="text"] and textarea in one call like this?
$("input[type='text']").focus(function() {});
Or would I have to create two JQuery calls to check for both types of focus?
$("input[type='text']").focus(function() {});
$("textarea']").focus(function() {});
Thanks
Yes you can use a comma, it means
OR. Try this: