//This gets the value selected in the dropdownlist. var text = $('#r1c3 option:selected').text(); //set the value for the dropdwnlist ,but make sure the value must exist in the list of item of dropdownlist $("#r1c3").val("XYZ");