I'm facing an unusual challenge with my project. I'm currently developing a system using JSF2 (Java) and the Primefaces component library. I have multiple buttons triggering a JavaScript function called checkParams()
on a onclick event. Now, I need to make changes to this function to accommodate some new components that I've added. The problem is, I can't seem to find the JavaScript function anywhere. I've searched for it in NetBeans using project search, but all I get are references to the buttons. I've also tried looking for it in the Google Chrome developer console, but again, I only see references to the buttons. Even attempting to call alert(checkParams());
on body load shows that the function is undefined in Chrome's console.
Despite this, the buttons are functioning perfectly, validating input fields and sending the data to the Java backend...
Does anyone have any insights on where I might find this elusive function or how I can uncover its location?