| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Unterminated string constant followed by |
<tr style="cursor:pointer" onClick="location.href=Web_Design_and_Hosting.htm'" onMouseOver="this.className='menu_category_tr_over'" onMouseOut="this.className="''">
<td height="25"><a href="Web_Design_and_Hosting.htm">Web Design and Hosting</a></td>
What am I missing here? I get a string error followed by a syntax error. THank you in advance.
I recently told someone that their single and double quotes were a mess. Yours are a mess too ;-)
Look at the onClick attribute:
Can you see how an extra ' has crept in there? That's bad news.
The onMouseOut attribute also has problems.
Ok, so what might the MouseOut problem be? Could you please advise. Thank you for pointing out the missed '.
Just to save you 10 mins I think the onclick should infact be
[single single double]
Woohoo..... Thanks! I was going stir freakin crazy. I cannot believe it was that obvious. Man, you get looking at code sometimes and your eyes go funny.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved