A method that is not a constructor has the same name as its class.
To correct this error
-
Make the method a constructor by eliminating the return type and the return statements.
-
Rename the method.
Ajax toolkit
Ajax website
| JScript 8.0 |
| JS1124: Only a constructor function can have the same name as the class it appears in |
| See AlsoВ |
|
A method that is not a constructor has the same name as its class.
Make the method a constructor by eliminating the return type and the return statements.
Rename the method.
Ajax toolkit
Ajax website