More in this section

Forums / Bugs & Issues / JQuery in sitefinity 4

JQuery in sitefinity 4

2 posts, 1 answered
  1. Peter
    Peter avatar
    30 posts
    Registered:
    08 Dec 2010
    05 Jul 2011
    Link to this post
    Hi there,

    I would like to add some jQuery to my website but it appears you have to activate the built-in version to get your scripts to fire. I have already searched for the problem but none of the solutions are complete enough to be useful. I have already read Geogi's blog entry but it didn't help. Unfortunately he just gives some code but doesn't tell you where to put it or why. I have also read the documentation, but again, it leaves out valuable information.

    Thanks!

    Pete
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Jul 2011
    Link to this post
    Hi Peter,

    You can use ResourceLinks to add jQuery on the page. You can do this on a master page or using custom or user control.

    <sitefinity:ResourceLinksID="resourcesLinks"runat="server">
        <sitefinity:ResourceFileJavaScriptLibrary="JQuery">
        </sitefinity:ResourceFile>
    </sitefinity:ResourceLinks>


    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
2 posts, 1 answered