Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 106
  • Last Modified:

ASP.NET 4.0 Webforms and Jquery Multiple Versions?

I'm working with webforms and need to know if I can isolate older versions of Jquery in separate folders and have everything work.
Here's the proposed layout:
/root//calendars
jquery-1.4.js
default.aspx
default.cs

/root//userdetails
jquery-9.1.js
default.aspx
default.cs
0
WorknHardr
Asked:
WorknHardr
1 Solution
 
MogalManicCommented:
In general the same page cannot have two references of different versions of a javascript library.  So the default.aspx page will have problems calling the JQuery library (it won't know which version the $ indicates;  It will probably load the last one).

You will have to do something like what is suggested here:
http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page
0
 
WorknHardrAuthor Commented:
That's what I thought, thx...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now