public/libs/jquery.selectbox.js
function (target, value, text) {
			var inst = this._getInst(target),
				onChange = this._get(inst, 'onChange');
			$("#sbSelector_" + inst.uid).text(text);
			$(target).find("option[value='" + value + "']").attr("selected", TRUE);
			if (onChange) {
				onChange.apply((inst.input ? inst.input[0] : null), [value, inst]);
			} else if (inst.input) {
				inst.input.trigger('change');
			}
		}
function (target, value, text) {
			var inst = this._getInst(target),
				onChange = this._get(inst, 'onChange');
			$("#sbSelector_" + inst.uid).text(text);
			$(target).find("option[value='" + value + "']").attr("selected", TRUE);
			if (onChange) {
				onChange.apply((inst.input ? inst.input[0] : null), [value, inst]);
			} else if (inst.input) {
				inst.input.trigger('change');
			}
		}
function ( target , value , text ) { var inst = this . _getInst ( target ) , onChange = this . _get ( inst , 'onChange' ) ; $ ( "#sbSelector_" + inst . uid ) . text ( text ) ; $ ( target ) . find ( "option[value='" + value + "']" ) . attr ( "selected" , TRUE ) ; if ( onChange ) { onChange . apply ( ( inst . input ? inst . input [ 0 ] : null ) , [ value , inst ] ) ; } else if ( inst . input ) { inst . input . trigger ( 'change' ) ; } }
Change selected attribute of the selectbox.

@param {HTMLElement} target
@param {String} value
@param {String} text
Change selected attribute of the selectbox .