D
Don
I have a page with a required field validator and it is working fine.
We put this project on another developer's machine and the validators
do not work. We get a javascript error that says 'Invalid Character
at line 24' but that line is not even javaScript.
This project is in sourceSafe and we both have done 'get latest
version' so I know the code is the same. This is not a browser
config issue because if I browse to his machine the valdiator does not
work and if he browses to my machine they do work.
I've noticed that the onsubmit property of the form tag is different
when my machine serves then page than it is when the page is served by
his machine. Below are the onsubmit properties:
Good onsubmit:
"if (!ValidatorOnSubmit()) return false;"
Bad onsubmit:
"ValidatorOnSubmit();"
Why would the same code generate different HTML?
Don
We put this project on another developer's machine and the validators
do not work. We get a javascript error that says 'Invalid Character
at line 24' but that line is not even javaScript.
This project is in sourceSafe and we both have done 'get latest
version' so I know the code is the same. This is not a browser
config issue because if I browse to his machine the valdiator does not
work and if he browses to my machine they do work.
I've noticed that the onsubmit property of the form tag is different
when my machine serves then page than it is when the page is served by
his machine. Below are the onsubmit properties:
Good onsubmit:
"if (!ValidatorOnSubmit()) return false;"
Bad onsubmit:
"ValidatorOnSubmit();"
Why would the same code generate different HTML?
Don