$.ajax({ cache: false, type: "POST", url:Url.Action("controller","view") data: { QueryId": QueryID }, success: function (data) { document.getElementById(ddlTableName).value = "sometext"; document.getElementById(ddlTableName).onchange(); FillColumnDropDown(document.getElementById(ddlTableName)); //fill 2 nd dropdown alert("h"); document.getElementById("Select1").text ="MyText" }, error: function (xhr, ajaxOptions, thrownError) { alert('Failed to retrieve Master Values.'); } });
$("#" + ddlCondition + " option[value='" + data[i].Condition + "']").attr("selected", "selected");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)