var data = document.getElementById('<%=RandomList.ClientID%>').value;
var data = <%=my_public_variable_from_code_behind%>; // for a number var data = "<%=my_public_variable_from_code_behind%>"; // for a string
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)