Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //this will fail
- $(document).ready(function () {
- myFunction(alert('doing something!'));
- //other stuff
- }
- //this will work
- myFunction(alert('doing something!'));
- $(document).ready(function () {
- //other stuff
- }
- myFunction()
- function myFunction(alert('doing something!'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement