You have two errors:
-
The comma (
,
) after'use strict'
should be a semicolon (;
). -
You need a closing
});
to match the outermost call tojQuery
.
More Related Contents:
- how do i submit message to my email by html or js?
- JS hide function error
- Javascript counting all the characters from a HTML document
- How does this JavaScript/jQuery syntax work: (function( window, undefined ) { })(window)?
- Trying to detect browser close event
- Upload multiple image using AJAX, PHP and jQuery
- putting datepicker() on dynamically created elements – JQuery/JQueryUI
- What does $(function() {} ); do?
- Which keycode for escape key with jQuery
- Changing an element’s ID with jQuery
- $(document).ready(function(){}); vs script at the bottom of page
- jQuery pass more parameters into callback
- How do I pre-populate a jQuery Datepicker textbox with today’s date?
- What do curly braces in JavaScript mean?
- How can I “reset” to its original state after it has been modified by JavaScript?
- Setting onbeforeunload on body element in Chrome and IE using jQuery
- jQuery JSON to string?
- jQuery duplicate DIV into another DIV
- Preventing default context menu on longpress / longclick in mobile Safari (iPad / iPhone)
- Modify the value of each textfield based on original value using jQuery
- In Firebase when using push() How do I pull the unique ID
- Drop event not firing in chrome
- How to keep the changes made to DOM by javascript/jquery on page refresh
- How to post an image in base64 encoding via .ajax?
- Saving and loading an image from localStorage
- Sorting an Array of JavaScript Objects a Specific Order (using existing function)
- Preventing Child from firing parent’s click event
- Sort a table fast by its first column with Javascript or jQuery
- Queue AJAX calls
- What is the difference between $(document).ready(function() and $(function() ?