anchor.diff:  
   <script type='text/javascript'>
       /* attach a submit handler to the form */
  -    $("#pwd").submit(function(event) {
  +    $("#submit").submit(function(event) {
       	alert("inside submit fucntion");
         /* stop form from submitting normally */
         event.preventDefault();
  
positive.code:     });
  </script>
  <%
  String key=request.getParameter("Key");
  String uName="";
  try{
      URL oracle = new URL("http://52.76.83.72:8080/eStore/getUserByKeyValue?keyValue="+key);
  
negative.code: New Password: <input type="text" name="password"  id="password"/>
  <br />
  Reenter Password: <input type="text" name="rpassword" id="rpassword" />
  <input type="submit" id="submit" value="Submit" />
  </form>
  </body>
  </html>