Click here to Skip to main content
15,886,199 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 10:16
professionalZurdoDev2-Mar-17 10:16 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:16
professionalKevin Marois2-Mar-17 10:16 
GeneralRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 10:18
professionalZurdoDev2-Mar-17 10:18 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:28
professionalKevin Marois2-Mar-17 10:28 
GeneralRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 10:29
professionalZurdoDev2-Mar-17 10:29 
QuestionMy First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 7:18
professionalKevin Marois2-Mar-17 7:18 
AnswerRe: My First JavaScript Code - Exception Pin
Sander Rossel2-Mar-17 8:03
professionalSander Rossel2-Mar-17 8:03 
GeneralRe: My First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 8:14
professionalKevin Marois2-Mar-17 8:14 
You're right. I didn't have
<!--Reference the jQuery library. -->
<script src="Scripts/jquery-1.6.4.min.js" "></script>

<!--Reference the SignalR library. -->
<script src="/Scripts/jquery.signalR-2.0.0.js"></script>

<!--Reference the autogenerated SignalR hub script. -->
<script src="/signalr/hubs"></script>

I put this just after the tag. And I moved my function right below all of that, so I now have:
<body>

<pre>
<!--Reference the jQuery library. -->
<script src="Scripts/jquery-1.6.4.min.js" "></script>

<!--Reference the SignalR library. -->
<script src="/Scripts/jquery.signalR-2.0.0.js"></script>

<!--Reference the autogenerated SignalR hub script. -->
<script src="/signalr/hubs"></script>

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

        proxy.client.NotifyAllClientsOfChanges = function () {

            var searchUrl = "Home/GetData";

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





I then got this.

So I fixed the jquery version, so I now have:
<!--Reference the jQuery library. -->
<script src="Scripts/jquery-1.10.2.min.js" "></script>

<!--Reference the SignalR library. -->
<script src="/Scripts/jquery.signalR-2.2.1.js"></script>

Now I get
" jQuery was not found. Please ensure jQuery is referenced before the SignalR client JavaScript file."

The jquery script if referenced first. What else could be wrong?

[UPDATE]
Going to start a new question
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: My First JavaScript Code - Exception Pin
Afzaal Ahmad Zeeshan2-Mar-17 8:21
professionalAfzaal Ahmad Zeeshan2-Mar-17 8:21 
Questionwhite Popup show while calling wpf app(made on win-07) by Thirdparty app(Made on Xp service pack -3) on windows 7 Pin
Member 1227019516-Feb-17 19:51
Member 1227019516-Feb-17 19:51 
AnswerRe: white Popup show while calling wpf app(made on win-07) by Thirdparty app(Made on Xp service pack -3) on windows 7 Pin
Richard MacCutchan16-Feb-17 21:42
mveRichard MacCutchan16-Feb-17 21:42 
QuestionList of CheckBoxes Localization not working Pin
Member 1300292515-Feb-17 5:33
Member 1300292515-Feb-17 5:33 
Questionstill shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA7-Feb-17 21:14
MrKBA7-Feb-17 21:14 
AnswerRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 2:04
mveRichard Deeming8-Feb-17 2:04 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 21:20
MrKBA8-Feb-17 21:20 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 21:53
mveRichard Deeming8-Feb-17 21:53 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 22:10
MrKBA8-Feb-17 22:10 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 22:16
mveRichard Deeming8-Feb-17 22:16 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 23:47
MrKBA8-Feb-17 23:47 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming9-Feb-17 0:00
mveRichard Deeming9-Feb-17 0:00 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA9-Feb-17 1:41
MrKBA9-Feb-17 1:41 
QuestionWPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Mark McArdle6-Feb-17 3:04
Mark McArdle6-Feb-17 3:04 
AnswerRe: WPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Richard Deeming6-Feb-17 7:55
mveRichard Deeming6-Feb-17 7:55 
PraiseRe: WPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Mark McArdle7-Feb-17 2:07
Mark McArdle7-Feb-17 2:07 
QuestionStyle User Control In Another Assembly Pin
Kevin Marois2-Feb-17 6:54
professionalKevin Marois2-Feb-17 6:54 

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.