vehuel
User
 Fresh Boarder
| Posts: 2 |   | Karma: 0
|
w3c validation - 2008/02/22 15:40
I'm looking for the following javascript code in acajoom files: <script language="javascript" type="text/javascript"> function submitacajoommod(formname) { var form = eval('document.'+formname);var place = form.email.value.indexOf("@",1);var point = form.email.value.indexOf(".",place+1); ............................................. The problem is that I can't validate(xhtml validation) the page because of some characters like "&".
This is the error: Validation Output: 13 Errors
1. Warning Line 78, Column 30: character "&" is the first character of a delimiter but occurred as data.
} else {if ((place > -1)&&(form.email.value.length >2)&&(point > 1)){form.
✉
This message may appear in several cases: * You tried to include the "<" character in your page: you should escape it as "<" * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe. * Another possibility is that you forgot to close quotes in a previous tag.
What's the file name, so i can change it?
Thanks.
Post edited by: vehuel, at: 2008/02/22 15:51
|
|
|
| | To post on the forum you need to sign in. |