Hi all,
While I'm no where near a js expert I do dabble in it for some web purposes. I have an application that for years now has used an onchange event to run a function that dynamically constructs an html select set. I've recently done some upgrades to my server (ubuntu 13.10) and I've suddenly started experiencing some js errors indicated by the firebug console. Specifically it states:
TypeError: select is null
Line 106
and line 106 is: select.options.length = 0;
which is what is normally used to clear the prior content of the select option list.
I've also started getting some null getElementById value errors as well.
So I'm not asking for anyone to solve this for me, just venting and wondering if I'm missing something and where I might be able to search for this/these errors? I'm most interested in the first error (TypeError: select is null).
If anyone can suggest where else to look (as in other areas of typical routines/functions) I'd be most gracious and I don't have much hair left to continue pulling out.
Thanks - (heavy sigh)
While I'm no where near a js expert I do dabble in it for some web purposes. I have an application that for years now has used an onchange event to run a function that dynamically constructs an html select set. I've recently done some upgrades to my server (ubuntu 13.10) and I've suddenly started experiencing some js errors indicated by the firebug console. Specifically it states:
TypeError: select is null
Line 106
and line 106 is: select.options.length = 0;
which is what is normally used to clear the prior content of the select option list.
I've also started getting some null getElementById value errors as well.
So I'm not asking for anyone to solve this for me, just venting and wondering if I'm missing something and where I might be able to search for this/these errors? I'm most interested in the first error (TypeError: select is null).
If anyone can suggest where else to look (as in other areas of typical routines/functions) I'd be most gracious and I don't have much hair left to continue pulling out.
Thanks - (heavy sigh)