Skip to main content
ELRafael
Participant
June 29, 2010
Question

Problems with Code Hinting - CS5

  • June 29, 2010
  • 2 replies
  • 669 views

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

This topic has been closed for replies.

2 replies

David_Powers
Inspiring
July 3, 2010

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.

BenPleysier
Community Expert
Community Expert
June 30, 2010

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!