Conditional Compilation Is Turned Off
I get a javascript error: Conditional compilation is turned off I found this link to fix : http://msdn.microsoft.com/en-us/library/5y5529x3(VS.90).aspx But after adding this field
Solution 1:
Here is a great piece of code, influenced by Dean Edwards, to determine whether or not conditional comments are enabled:
var allowsCC = /*@cc_on!@*/!1;
if(allowsCC)
alert("Conditional comments are allowed!!!");
else
alert("Conditional comments are not allowed.");
As you may have already determined, allowsCC will be set to a boolean value which indicates whether or not conditional comments are allowed.
Post a Comment for "Conditional Compilation Is Turned Off"