Why Latest version of jquery is not seeing/used by my code
I am working with page myPAge.aspx that uses content.master which uses
main.amster. In the section of main.master following is specified:
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"></script>
In the myPage.aspx there is
<asp:Content ID="Content4" ContentPlaceHolderID="PageBottom" runat="Server">
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
function myFunction() {
var jq = $.fn.jquery; // WHY this returns "1.3.2" as version of
JQuery???
}
And it looks like actually 1.3.2 version is used, because I am not able to
use .done in ajax callback. Thank you
No comments:
Post a Comment