How to make external jquery links local to my project

Hi Experts,

Right now I am using so many external links for jquery . For example to mask a textbox or to display a pop up calendar. Like the code below. When I do not have internet then I can not use my project. Can anybody please help me how to make these things local to my project so that I do not have to use external links all the time.

Thank you very much.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
       <script>
            $(document).ready(function () {
                var gridHeader = $('#<%=GVViewJobs.ClientID%>').clone(true); // Here Clone Copy of Gridview with style
                $(gridHeader).find("tr:gt(0)").remove(); // Here remove all rows except first row (header row)
                $('#<%=GVViewJobs.ClientID%> tr th').each(function (i) {
                    // Here Set Width of each th from gridview to new table(clone table) th
                    $("th:nth-child(" + (i + 1) + ")", gridHeader).css('width', ($(this).width()).toString() + "px");
                });
                $('#ViewJobHeader').append(gridHeader);
                $('#ViewJobHeader').css('position', 'absolute');
            });
     </script>

    <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"/>
    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
   <script>            $(".txtDate").datepicker();
        });
        $(function () {


    </script>
RadhaKrishnaKiJayaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CamilliaCommented:
Click on the link , for example, http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js
that you have. Opens in another tab or browser. Right click and "save as".

Save it as ".js" file in a folder and reference that folder.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RadhaKrishnaKiJayaAuthor Commented:
Thank you very much for your help. The above I can copy. But what about the following link. When I try in the same way. It is showing in encoded form.

<script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
   <script>
        $(function () {
            $(".txtDate").datepicker();
        });

    </script>
0
RadhaKrishnaKiJayaAuthor Commented:
I downloaded it from their web site. Thank you very much for your help.
0
CamilliaCommented:
I put a http:// before the url you have.  I can see the code and can save it.
0
RadhaKrishnaKiJayaAuthor Commented:
Thank you so much for ur help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.