รวม code แก้ไขหลายจุด
This commit is contained in:
@@ -13,7 +13,7 @@ function array_to_string_comma(a) {
|
||||
|
||||
function rep_eva01_GetSearchParameter(fileType) {
|
||||
var rep_eva01SearchObject = new Object();
|
||||
rep_eva01SearchObject.org_id = array_to_string_comma($("#s_rep_eva01_org_id").val());
|
||||
rep_eva01SearchObject.org_id = $("#s_rep_eva01_org_id").val();
|
||||
rep_eva01SearchObject.round_id = $("#s_rep_eva01_round_id").val();
|
||||
rep_eva01SearchObject.round_text = $("#s_rep_eva01_round_id option:selected").text();
|
||||
|
||||
@@ -31,6 +31,12 @@ function rep_eva01_FeedDataToSearchForm(data) {
|
||||
|
||||
function DropDownClearFormAndFeedWithDataOrg(d, result, x, y, z, i) {
|
||||
$(d).html('');
|
||||
$(d).append($("<option></option>")
|
||||
.attr("value", "")
|
||||
.text("กรุณาเลือก"));
|
||||
$(d).append($("<option></option>")
|
||||
.attr("value", "-1")
|
||||
.text("เนติบัณฑิตยสภา ในพระบรมราชูปถัมภ์"));
|
||||
if (z !== "") {
|
||||
$.each(result[z], function (key, value) {
|
||||
$(d).append($("<option></option>")
|
||||
|
||||
Reference in New Issue
Block a user