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 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Khan Abrar AhmedPosted Jun 22, 2014, 8:33 AM
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.