I'm working with some javascript (about 12,000 lines of it) and there is a few instances of this
if (!chkLoad.checked) {
But when I do a search for chkLoad I cannot find it declared of assigned anywhere. I even searched multiple files from the root of the project and even though it finds 50 instances of chkLoad it does not find anything like
var chkLoad = document.getElementById('chkLoad');
When I debug the site in Firebug, when I break on one of the conditionals, it does show that chkLoad is in fact the element with ID of chkLoad, but no where in the code shows the assignment of chkLoad.
What might I be missing with my search to find where chkLoad is defined and then assigned?