Copy link to clipboard
Copied
Hello folks.
I have a stranger warning inside Dreamweaver CS5 about code hinting.
I believe my code is all right but Dreamweaver shows me a warning
"There is a syntax error on line N. Code hinting may not work until you fix this error."
No errors

Errors

The first line is: < script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">< /script >
There are some extra spaces because I don't know if this forum blocks this kind of content.
Another stranger error situation

This last situation works just fine in my HTML. I have a header/footer system to include in all pages, so I don't need to use the second image.
Thanks for help
Rafael
Copy link to clipboard
Copied
Hi Rafael,
I typed the same code into my document and no errors.
$(document).ready(function() {
// put all your jQuery goodness in here.
});
Perhaps, if you copy and paste the code above, it may solve your problem.
Ben
Copy link to clipboard
Copied
The syntax checker in Dreamweaver CS5 runs as a lower priority operation, and sometimes fails to clear when you complete the code. Press Ctrl/Cmd+period (full stop) to refresh syntax checking if you think it's displaying an incorrect warning.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more