I am trying to make an XHTML 1.0 Transitional page compatible. One of the problems that the validator has with my code is in the following line:
if (isNumeric(code) && code.length == 4) {
Error:
the & character is the first delimiter character, but takes place as data
Here is another problematic line:
aData = data.split("&&");
Again, the error is this:
the & character is the first delimiter character, but takes place as data
How to fix it?
source share