hi
I have code for timer and I want to make it reas from DB but I got problem when I try to get the Value From lbltime
It read from DB but the javascript code not get the value
This my code
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="js/timer.js"></script>
<script type="text/javascript">
window.onload = WindowLoad;
function WindowLoad(event) {
//var value = $("id[$='lbltime']").val();
ActivateCountDown("CountDownPanel1", document.getElementById("lbltime").value, "CountDownEnded1");
}
function CountDownEnded1() {
alert("Time End");
location.reload(true);
}
</script>
<asp:Label ID="lbltime" runat="server" Visible="false" Text="600" ></asp:Label>
...
Go to the complete details ...