volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Jquery update

Is possible update the Jquey version of EpiServer? 

I have to use jquery-1.9.1.js in my gadget and if I try I get on error, probably because the version of Jquey of Episerver. If I try add my new version of Jquery I broke something because my post lost the context with Episerver.

#76566
Oct 29, 2013 6:20
Vote:

You could add your jQuery file and map it to a custom variable, using $.noConflict();. See http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page for more information.

Frederik

#76654
Oct 30, 2013 15:16

Thank you Fred,

I fixed my problem:

 

<script src="/modules/EpiCase/Content/js/jquery-1.9.1.js"></script>
<script src="/modules/EpiCase/Content/js/jquery-ui.js"></script>
<script type="text/javascript">

var $j = jQuery.noConflict(true);

.

.

.

</script>

 

#77122
Nov 11, 2013 0:02
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.