Click here to Skip to main content
15,895,534 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm getting this error

my code in javascript is

divResult += "<span id=\"sp_roomdesc\" class=\"tooltip\" onmouseover=\"tooltip.pop(this,'"+RoomDesc + "')\"> " + RoomTypeName + "</span>";

thanks
Posted
Updated 12-Nov-13 21:33pm
v5

HI,

You have additional double quotes in the end of statement,
Remove that double quote and try.

Regards,
RK
 
Share this answer
 
Try div += '' + RoomTypeName;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900