Oracle APEX - Get the Text or Value of a Selected Option

Oracle APEX - Get the Text or Value of a Selected Option

var optionText  = $("#P1_ITEM :selected").text();
var optionValue = $("#P1_ITEM :selected").val();