I'm working with a developer and I'm a little frustrated because when using the Web application he created I get a runtime error. I dug a little deeper and I it appears to be this function noted below. Unfortunately JS isn't my strong point.
If anyone has any insight I would appreciate it greatly.
Error: 'undefined' is null or not an object
This is the function:
Expand|Select|Wrap|Line Numbers
- function limitText(limitField, limitCount, limitNum) {
- if (limitField.value.length > limitNum) {
- limitField.value = limitField.value.substring(0, limitNum);
- } else {
- limitCount.value = limitNum - limitField.value.length;
- }
Here is an example of the function being used on the form:
Expand|Select|Wrap|Line Numbers
- onKeyDown="limitText(this.form.txtMaintenanceComments,this.form.countdown,1000);"
Thanks again, I appreciate it.
<exiting... off to CSS dicussions to see if I can offer any insight there>