London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Jquery update

Vote:
 

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
Vote:
 

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
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.