(Not sure which forum this belongs in.)
I have an app which has Telerik Asp.Net references in all pages including the master pages.
In my master page I have the usual RadScriptManager references to the Telerik jQuery js files.
I have a start up routine that references an HTML input control (not an ASP.Net control, just <input type="button"... etc. although it has runat='server')
The JavaScript function itself is as follows:
$(document).ready(function () {
var hf = "<%= hfStartTimer.Value %>";
timeoutButton = $get('btnTimeout');
timeoutButton.style.visibility = 'hidden';
if (hf == 'true') {
timerHandle = setTimeout(function () {
startCounter();
}, "<%= hfTimeOut.Value %>");
}
})
The problem is that this works perfectly in Chrome and Firefox but not in IE10 or 11. It crashes. The $get returns null for btnTimeout.
Suggestions?
I have an app which has Telerik Asp.Net references in all pages including the master pages.
In my master page I have the usual RadScriptManager references to the Telerik jQuery js files.
I have a start up routine that references an HTML input control (not an ASP.Net control, just <input type="button"... etc. although it has runat='server')
The JavaScript function itself is as follows:
$(document).ready(function () {
var hf = "<%= hfStartTimer.Value %>";
timeoutButton = $get('btnTimeout');
timeoutButton.style.visibility = 'hidden';
if (hf == 'true') {
timerHandle = setTimeout(function () {
startCounter();
}, "<%= hfTimeOut.Value %>");
}
})
The problem is that this works perfectly in Chrome and Firefox but not in IE10 or 11. It crashes. The $get returns null for btnTimeout.
Suggestions?