I am using selectboxit plugin - http://gregfranko.com/jquery.selectBoxIt.js/
With a normal select element, setting the prop of selected element will update the UI. With selectboxit it is not working.
Demo - http://jsfiddle.net/uXM6Y/
var selectBox = $("select#test").selectBoxIt().data("selectBoxIt");
$('.btn').click(function(e){
$('#test option:contains("Great")').prop('selected', true);
});
When i click on the update button in the demo, select is not set to the updated value. If i remove the selectboxit plugin it works fine.