Set select option ‘selected’, by value
There’s an easier way that doesn’t require you to go into the options tag: Check out the this jQuery method. NOTE: The above code does not trigger the change event. You need to call it like this for full compatibility: