This is a migrated thread and some comments may be shown as answers.

Script problem with IE and Telerik JS

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 13 Jan 2015, 09:12 PM
(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?
 

1 Answer, 1 is accepted

Sort by
0
Boris
Top achievements
Rank 1
answered on 14 Jan 2015, 02:21 PM
My apologies.  Let's cancel this entry.  The problem was not exactly what I thought it was.

I'll be posting a more relevant question later.  Thanks all.
Tags
General Discussions
Asked by
Boris
Top achievements
Rank 1
Answers by
Boris
Top achievements
Rank 1
Share this question
or