I have an ASP.NET project. Normally if I click search then it shows some results. Now I want after user search, it shows a prompt or window to ask for password first, if user enter the right pwd, it will open the full results, else if user choose not to enter pwd, it open another page which will show only a part of the result.
My plan is to use pwd checking in jsp:
<script src="../../../JS/Registration.js" language="javascript" type="text/javascript"></script>
But I don't know how to check what user choose here then redirect to different pages ?