Jayteez Posted August 21, 2019 Share Posted August 21, 2019 I am using the W3 schools code to make a panel that slides open at the bottom of my webpage for a uni assignment due tonight and I keep getting error messages in the Javascript saying "ERROR document is not defined "window is not defined " "$ is not defined". can any one help with this? Link to comment Share on other sites More sharing options...
Ingolme Posted August 21, 2019 Share Posted August 21, 2019 If window and document are not defined, either you're not running this code in a browser or you've overwritten the window and document objects. "$" not defined would usually be caused by not including jQuery, or by having loaded jQuery further down the document than your code. Link to comment Share on other sites More sharing options...
Jayteez Posted August 21, 2019 Author Share Posted August 21, 2019 Thanks Ingolme Its all new to me so struggling to make sense of it all. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now