1

I have a full responsive site in SP 2013 with several WebParts developed by a very huge developer group.

We have centralized custom script links and JavaScript APIs (and/or frameworks) in two masterpages.

Now from certain WebParts (not all) sometimes have a syntax error in the minified jQuery (version 10.1).

In particular I've noticed that in debug mode (IE8), the same click button doesn't give the same behaviour ... it works properly! :/

Are there limitations or known problems using the jQuery library version for SP2013!?

My clients is often running Windows XP / Seven OS with IE8 browser, due to company restrictions.

2
  • It would help if you post the error logs as well. It helps to pinpoint what exactly is causing the behavior. – Brandon C. Jun 24 '14 at 9:45
  • You are right, but the error isn't logged ... is a side effect on some feature in that page (same WP in other pages works well), in fact, the debugger breaks on syntax Error on minified script. – Johnny Odd Smile DellaValle Jun 24 '14 at 10:44
0

I'm wondering if you have gone through the 1.10+ change log to see if your code is using something that was removed.

http://blog.jquery.com/2013/05/24/jquery-1-10-0-and-2-0-1-released/

6
  • We have done ... – Johnny Odd Smile DellaValle Jun 24 '14 at 13:11
  • I'm confused by your brief comment. Did you try adding in the migration patch that the jQuery team provides? – iOnline247 Jun 27 '14 at 3:59
  • I've put the new jQuery and jQuery-Ui references in all master pages provided; the problem was presented in only one custom page, with a special page layout, which included two validators field on a single textbox (I didn't have seen code before because it wasn't mine ... :/ ) and this has caused a strange side effect. At now, I've not clear why that exception was thrown. – Johnny Odd Smile DellaValle Jun 28 '14 at 13:00
  • Did you try adding the migration patch for this specific layout? – iOnline247 Jul 3 '14 at 21:05
  • Yes, migration patch is correct and consistent, but the problem remains in these f**** validators. – Johnny Odd Smile DellaValle Jul 7 '14 at 9:56
0

I don't think there is any dependency of Sharepoint with jQuery version. It depends what version is used by your customization.

You need to check which version of jQuery is used by your webparts and other customizations.

you can use 1.7.1 or 1.7.2 versions of jQuery in SharePoint 2013

http://msdn.microsoft.com/en-in/library/jj163201.aspx

6
  • Thank you Aanchal, but we use in all WPs, 1.10.1 version of jQuery ... do you know any problems with it!? – Johnny Odd Smile DellaValle Jun 24 '14 at 10:35
  • We had, but our different components were build on different jquery version. If all are referring same there should not be a problem. – Aanchal Jun 24 '14 at 10:42
  • Yes, but I must use 1.10 version becouse we have several implementation of jquery.datatable, that works fine only with that version ... :/ – Johnny Odd Smile DellaValle Jun 24 '14 at 10:48
  • So you can use this version. What is that issue you getting with this version? – Aanchal Jun 24 '14 at 10:52
  • If it's datatables.net that you are using, have you looked at older versions that don't require 1.10+? – iOnline247 Jun 24 '14 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.