I have written the following script to pop up a message using href but on clicking OK of the pop up the form is getting reset why this is happening
What I wrote is as follows
<a href="" style="text-decoration: none;" onclick="return confirm('A student need for Accommodated, Modified, or Alternate assessment is determined by the student ARD committee working in collabration with the LPAC and must be documneted in the student IEP ');">
?</a>
Before OK click

After clicking ok


It’s odd that you’re using
confirm()for an informational pop-up. There’s no difference between OK and Cancel, so you can just usealert(), you also need to return false so it does not actually follow the link:The original version you posted was linking to the current page (and reloading the page with a now empty form.)
You could also use a span: