Jump to content

Recommended Posts

Posted

I was told instead of downloading the latest jquery file, you can link to it, so you don't have to manually update it. Is this true? I looked around on the jquery site, and could not find anything.

Posted (edited)

It's not really mentioned there, but if you want to automatically include the latest version on your pages then:

 

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>

 

EDIT: Or the minified version which would be more friendly for production sites:

 

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>

Edited by BeeDev

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...