javascript - Passing model data to partial view after updating model again -
i having main view , few partial views. the main view displays list of registered users : the main view code : @model webapplication9.models.user @{ layout = null; } <!doctype html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>index</title> <link ref="~/styles/usermanagement.css" rel="stylesheet" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> </head> <body> <p> <button type="submit" name="btndefinetraj" onclick="