I'm getting Uncaught ReferenceError:utag is not defined
The error:
Uncaught ReferenceError: utag is not defined
at HTMLSelectElement.eval (eval at jsf.util.chain(jsf.js.html?=ln=javax.faces:1), anonymous:<3:1>)
at Object.jsf.util.chain (jsf.js.html?=ln=javax.faces:1)
at HTMLSelectElement.onChange (xyz.html:123)
This is a bit weird scenario. Two weeks ago I was working on a source code and it was working fine for 2 days but suddenly started throwing the above error on Chrome. So I switched to IE and on IE it was working fine for some time before throwing the same error on IE also. I couldn't resolve that error that time and moved on to another priority task. Yesterday I took a completely different source code and started working on Chrome. It was working fine for sometime and again I got the same error on Chrome. Like last time started working on IE. Now IE also throwing the same error. I don't understand why I'm getting this error after working for sometime. I cleared cache and restarted the system and done building the code multiple times.
I do believe this is a problem with either browser or eclipse. Kindly guide me.
The code looks somewhat similar to this, <commandLink id="abc" onclick="utag.link({url link})" />
NOTE: This code working completely fine for my colleagues.