I am maintaining many old websites and CMS systems at my new job and run into an issue with one. The ASP site is using JavaScript and this line stopped working today (or slightly earlier than today):
document.forms(0)
Console would report Uncaught TypeError: document.forms is not a function. After Googling, I found that I can replace it with:
document.forms[0]
and continue moving forward, however, this website and files are littered with this reference.
Can anyone find explain what might have happen? Chrome, IE and Firefox are not working, was there an update to browsers or JavaScript? I can't seem to find document.forms(0) in my searches. Odd.