View Full Version : No use of < or >

02-11-2004, 03:27 PM
How can I do the following check without using a < or >
A xml parser keeps replacing it with &gt; and its messing up my script!

if (todaysDate > selectedDate) {


02-11-2004, 04:09 PM
You either move the script out to a separate file (best choice), replace them with &gt; &lt; (which SHOULD work but doesn't in any of the browsers), or you wrap the entire script in a CDATA block:
<![CDATA[ ... ]]>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum