BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<script>
function getValue(args)
{
var ddl = $("#TypeList").data("ejDropDownList");
alert(ddl.getSelectedValue());
}
</script> |
$("#TypeList").ejDropDownList({
dataSource: dataManagerType,
fields: { value: "Name", text: "TypeId" },
enableFilterSearch: true,
enabled: true,
change: "GetSpecList",
validationRules: { required: true },
validationMessage: { required: 'is required.' },
});
function GetSpecList(args) {
console.log(args.selectedText); // get text
console.log(args.selectedValue); //get value
} |