Click here to Skip to main content
15,889,825 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionSetting URL Pin
Kevin Marois7-Mar-17 8:22
professionalKevin Marois7-Mar-17 8:22 
AnswerRe: Setting URL Pin
ZurdoDev7-Mar-17 9:21
professionalZurdoDev7-Mar-17 9:21 
GeneralRe: Setting URL Pin
Kevin Marois7-Mar-17 10:47
professionalKevin Marois7-Mar-17 10:47 
AnswerRe: Page appearing way to wide. Pin
Richard MacCutchan3-Mar-17 21:14
mveRichard MacCutchan3-Mar-17 21:14 
AnswerRe: Page appearing way to wide. Pin
ZurdoDev7-Mar-17 9:23
professionalZurdoDev7-Mar-17 9:23 
QuestionSetting SignalR URL in JQuery Pin
Kevin Marois2-Mar-17 12:21
professionalKevin Marois2-Mar-17 12:21 
AnswerRe: Setting SignalR URL in JQuery Pin
Nathan Minier3-Mar-17 1:26
professionalNathan Minier3-Mar-17 1:26 
QuestionJavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:54
professionalKevin Marois2-Mar-17 10:54 
Using IE11. I only get this error on IE. The app works fine in Chrome.

Here's the JS
JavaScript
<script src="/Scripts/jquery-3.1.1.min.js"></script>

<script src="/Scripts/jquery.signalR-2.1.2.js"></script>

<script src="/signalr/hubs"></script>

<script type="text/javascript">
    $(function () {

    var proxy = $.connection.DashboardHub;

    proxy.client.NotifyAllClientsOfChanges = function () {

        var searchUrl = "Home/GetData";

        $.ajax({
            url: searchUrl,
            type: "POST",
            success: function (data) {
                $("#divData").html(data);
            }
        });
    };
});

When I run the file jquery-3.1.1.min.js opens, and this is highligted:
h=a.indexOf(" ")

and I get the error "Object doesn't support property or method 'indexOf'"

Google results say that IE doesn't support this. Anyone heard of this? Any way to make this work?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

Question(SOLVED) Call to Member function execute() on null... Pin
samflex25-Feb-17 11:36
samflex25-Feb-17 11:36 
AnswerRe: Call to Member function execute() on null... Pin
Richard MacCutchan25-Feb-17 20:47
mveRichard MacCutchan25-Feb-17 20:47 
GeneralRe: Call to Member function execute() on null... Pin
samflex25-Feb-17 21:25
samflex25-Feb-17 21:25 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan25-Feb-17 21:29
mveRichard MacCutchan25-Feb-17 21:29 
GeneralRe: Call to Member function execute() on null... Pin
samflex25-Feb-17 21:37
samflex25-Feb-17 21:37 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan25-Feb-17 21:42
mveRichard MacCutchan25-Feb-17 21:42 
GeneralRe: Call to Member function execute() on null... Pin
samflex25-Feb-17 21:47
samflex25-Feb-17 21:47 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan26-Feb-17 21:06
mveRichard MacCutchan26-Feb-17 21:06 
GeneralRe: Call to Member function execute() on null... Pin
samflex27-Feb-17 0:34
samflex27-Feb-17 0:34 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan27-Feb-17 0:42
mveRichard MacCutchan27-Feb-17 0:42 
GeneralRe: Call to Member function execute() on null... Pin
samflex27-Feb-17 3:22
samflex27-Feb-17 3:22 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan27-Feb-17 3:33
mveRichard MacCutchan27-Feb-17 3:33 
GeneralRe: Call to Member function execute() on null... Pin
samflex27-Feb-17 4:04
samflex27-Feb-17 4:04 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan27-Feb-17 4:21
mveRichard MacCutchan27-Feb-17 4:21 
GeneralRe: Call to Member function execute() on null... Pin
samflex27-Feb-17 4:31
samflex27-Feb-17 4:31 
GeneralRe: Call to Member function execute() on null... Pin
Richard MacCutchan27-Feb-17 4:38
mveRichard MacCutchan27-Feb-17 4:38 
GeneralRe: Call to Member function execute() on null... Pin
samflex27-Feb-17 5:35
samflex27-Feb-17 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.