Is there a way to highlight a specific div when the page.isvalid=false? I can display the error message on page load, but struggling to highlight the required control.
I have a JavaScript function that applies an error class to the div, which works fine when clicking on a button. However, I need it to work on page load as well.
Can this be achieved using jQuery or any other method?
Please share your ideas on how to accomplish this. Thank you!