รวม code แก้ไขหลายจุด

This commit is contained in:
Nakorn Rientrakrunchai
2020-08-16 10:08:59 +07:00
parent e5b3a20670
commit 592a3e3c1b
8 changed files with 32 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ function array_to_string_comma(a) {
function rep_eva02_GetSearchParameter(fileType) {
var rep_eva02SearchObject = new Object();
rep_eva02SearchObject.org_id = array_to_string_comma($("#s_rep_eva02_org_id").val());
rep_eva02SearchObject.org_id = $("#s_rep_eva02_org_id").val();
rep_eva02SearchObject.round_id = $("#s_rep_eva02_round_id").val();
rep_eva02SearchObject.round_text = $("#s_rep_eva02_round_id option:selected").text();
@@ -31,6 +31,12 @@ function rep_eva02_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>")