I have an aspx page that needs to open a popu widow for user input. The routine is called from a button and the correct page is called using the code listed in the Code: box. My problem is passing variable to the popup window. There are several textboxes on the popup that need to be populated with the content of controls from the calling page. My thought has been to do this via querystring like this:
var orgName = document.getElementById("t
var url = "AddContact.aspx?orgName="
Can anyone help me with this problem?
<asp:Button ID = "btnAddContact" Text = "Add Contact" runat = "server" OnClientClick="Pop_Window();" />
// I would like to get the below value and append it to the url
//var str = document.getElementById("txtOrganization").value;
var confirm = null;
var url = "AddContact.aspx";
confirmWin = window.open(''+ url + '','anycontent',