View Full Version : & in string comparison quote

12-30-2005, 09:25 PM
Hi I have a javasript string comparison:

else if (variable1=="Business & Corporate").....

The ampersand (&) seems to be causing a problem? How do I overcomethis?

12-30-2005, 09:57 PM
There is nothing wrong with that statement. The problem must be in how the value is being assigned to the variable.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum