• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

MSIE Error

When a page I created loads in MSIE it shows an error at line 8, character 44.  It says it expected ';'

I am going crazy trying to find out where this error is in the code.  Can anyone help me?

The page is at www.tropotravel.com/index.htm
1 Solution
This line has a mistake:

<A HREF="cabo99.htm" OnMouseOver="window.status='See the fun we had in Cabo '99';return true" OnMouseOut="window.status='';return true"> Cabo '99</A><BR><BR>

Replace it by:

<A HREF="cabo99.htm" OnMouseOver="window.status='See the fun we had in Cabo 99';return true" OnMouseOut="window.status='';return true"> Cabo '99</A><BR><BR>

If you want to insert some ' in string you have to protect it by \
window.status='See the fun we had in Cabo \'99\'';
jomrchantAuthor Commented:
Boy, do I feel stupid.  I knew that and I just kept looking right past it.  Thanks for the prompt response.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now