Skip to content

Commit 2cafec3

Browse files
committed
How jQuery Works: Warn the user of mismatching file names
Closes gh-510
1 parent 5a9b29b commit 2cafec3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

page/about-jquery/how-jquery-works.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ This is a basic tutorial, designed to help you get started using jQuery. If you
2828

2929
The `src` attribute in the `<script>` element must point to a copy of jQuery. Download a copy of jQuery from the [Downloading jQuery](http://jquery.com/download/) page and store the `jquery.js` file in the same directory as your HTML file.
3030

31+
*Note: When you download jQuery, the file name may contain a version number, e.g., `jquery-x.y.z.js`. Make sure to either rename this file to `jquery.js` or update the `src` attribute of the `<script>` element to match the file name.*
32+
3133
### Launching Code on Document Ready
3234

3335
To ensure that their code runs after the browser finishes loading the document, many JavaScript programmers wrap their code in an `onload` function:

0 commit comments

Comments
 (0)