Just got the Jquery Novice to Ninja book and didn't go past exercise 1. I use xampp where I placed my index.html with the following...
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="../../css/base.css" type="text/css" media="screen" charset="utf-8" />
The script.js is..
alert('Welcome to StarTrackr! Now no longer under police investigation!');
Placed both the html and js under www and when it ran, the js didn't execute. It pints to the $ of the js script and says "Object expected"
Any idea what I should do to make it run?
Welcome to the forums.
xampp is a server stack which is useful for server-side technologies, such as PHP.
What happens if you just go into the folder for the first exercise (should be 'chapter_02\01_document_ready') and double click on index.html?
This topic is now closed. New replies are no longer allowed.