Why do I get a Javascript error when validating a hidden field?
- by ProgrammingPope
I have a custom control and I am trying to validate a hidden field. The validation works fine but I am getting the following Javascript error every time (output from Firebug):
Error: element is null
Code: var currentClassName = ' ' + WebForm_TrimString(element.className) + ' ';
URL: http://localhost:58462/WebResource.axd?d=...