[thelist] Javascript Code broke?

webcoder at cox.net webcoder at cox.net
Mon May 24 07:21:43 CDT 2004


You don't mention OS or browser, but Google might offer some clues.

http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=%22Invalid+Character+code%22+javascript

> For the life of me I cannot figure out why this broke. (see arrow)
> 
> function validate() {
>   if (AddProject.ProjectName.value == "") {
>     alert("You must enter a Project Name.");
>     return false;
>   } 
>   else 
>   {
>     document.AddProject.submit();  <------------------
>     return true;
>   }
> }
> 
> The form is:
> 
> <form action="actions/add.asp" name="AddProject" method="get" >
> ...
> <input type="button" value="Save" onclick="validate()">
> </form>
> 
> The error message is something to the tune of:
> 
> Invalid Character code 3~~0
> 




More information about the thelist mailing list