focus whole html excepts 1 element
I currently have the following code: But when i press the select (dropdown menu) de inputfield description gets focused too.
- $('html:not(select)').click(function(){
- $('input[name=description]').focus();
- });
This also didn't work:
- $('html').not('select').click(function(){
- $('input[name=description]').focus();
- });