ok I solved this problem by below code:
code behind:
protected List<listitem> objListItems = new List<listitem>();
And in javaScript
<%
for(int i=0;i<=objListItems .Count;i++)
{
%>
alert('<%=objListItems[i].Text%>')
alert('<%=objListItems[i].Value%>')
<%
}
%>