Hi every one
i am find code two textbox select date in two textbox date difference value bind dropdown list
i am achive find date difference but dropdown selected value not set
in javascript please help anyone ..
this code used already:-
1. > document.getElementById("<%=ddldays.ClientID %>").value = days;
2 .> var element = document.getElementById("ddldays");
element.value = days;
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Khan Abrar AhmedRank #778 · 3K reputationPosted Jun 22, 2014, 4:33 AM EDT
do u want to select the value or get the value from drop down.
if you need to set the drop down then you have to find the index of value in dropdown and select that value.