Try this instead:
if($.trim($('#group_field').val()) != ''){
More Info:
More Related Contents:
- jQuery Validation not working in IE7 + IE8
- How can I convince IE to simply display application/json rather than offer to download it?
- Getting jQuery to recognise .change() in IE
- How to prevent a jQuery Ajax request from caching in Internet Explorer?
- jquery IE Fadein and Fadeout Opacity
- Cannot properly set the Accept HTTP header with jQuery
- Fancybox stuck loading iframe in IE
- $.getJSON returning cached data in IE8
- Possible to get Excanvas to work in IE 8?
- JQuery Hide Option doesn’t work in IE and Safari
- How to solve/hack fading semi-transparent PNG bug in IE8?
- only shows first char of selected option
- How to remove disabled attribute with jQuery (IE) [duplicate]
- Preventing “SCRIPT5: Access is denied” error in IE
- Detecting IE using jQuery
- PreventDefault alternative for IE8
- Weird behaviour of iframe `name` attribute set by jQuery in IE
- Weird IE8 layout glitch – why does the body background disappear?
- jQuery.getJSON not working properly in IE8 with gdata json-c. Why? [duplicate]
- jQuery is adding a strange attribute to nodes
- How can I change CSS display none or block property using jQuery?
- jQuery scroll to ID from different page
- Display JSON Data in HTML Table
- How to render partial view in MVC5 via ajax call to a controller and return HTML
- jquery if div id has children
- Detect changed input text box
- how do I strip white space when grabbing text with jQuery?
- How to make select2 work with jquery.validation plugin?
- How can I add jquery ui autocomplete to a dynamically created element?
- Highlight text inside html with jQuery