I had a form which is called contact.aspx and it has a dropdown which includes user list.
I add below line to add user.
<a href="#" id="userLink" onclick="insertUser()" class="addnew" runat="server">New User</a>
and the javascript of insertUser is below:
<script type="text/javascript">
function insertUser() {
var win = window.open('stackoverflow.aspx?t=1', 'User Insert', 'width=800,height=600');
}
</script>
And when I click "New User
", stackoverflow.aspx is opened and I want to enter new user data and click save.
After clicking save buton, how can I close stackoverflow.aspx and only refresh dropdown at the contact.aspx?