JQuery in sitefinity 4

Posted by Community Admin on 04-Aug-2018 10:16

JQuery in sitefinity 4

All Replies

Posted by Community Admin on 05-Jul-2011 00:00

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

Posted by Community Admin on 05-Jul-2011 00:00

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

This thread is closed