Thanks. I have managed to do what I want by using this snippet of code:
- // Remove shadow from other input types
- $(document).on('focus', 'input', function () {
- if ($(this).hasClass('ui-input-text') && $(this).attr('type') == 'number') {
- $(this).closest('div').addClass('noshadow');
- }
- });
I can now get this to work on all the elements I need with the exception of a slider where I can remove the glow from the box on the slider but I can't do the same for the input box next to it.