       <button type="submit" class="btn btn-primary">确认</button>
          </div>
        </form>
        </div>
    </div>

  </div>
  
  <script src="/assets/dist/js/bootstrap.bundle.min.js"></script> 
  <script lang="javascript">
      $("#form").on("submit", function (event) {
      
      if(jQuery("#newpassword").val()!=jQuery("#newpasswordconfirm").val())  
      {
           alert("前后密码不相同！");
           return;
      }
      
      event.preventDefault();

      var data = $(thi