$('#types').change(function() {
var htmlToAppend = "<br/><input id='btnAddDictionary' type='button' value='Add Dictionary' />";
if ($("#types").val() == 'enumType') {
$(this).append(htmlToAppend); //problem is in there
debugger;
}
else {
//removebutton or not show it
}
});
$(‘#types’).change(function() { var htmlToAppend = <br/><input id=’btnAddDictionary’ type=’button’ value=’Add Dictionary’ />; if ($(#types).val() ==
Share
Try this: