sankar_bhatta Posted August 11, 2007 Share Posted August 11, 2007 Hi Guys.I have created html page where I have inserted a button , cliking on which opens another window. The new window has some input fields in it. In the parenet window I have some elements. I need to pass one of the elements in the parent window to be passed to the new window input fields. In the new window the fields are written in <form> tag. How do I achieve this. Please provide me a sample code.thankssankar Link to comment Share on other sites More sharing options...
vijay Posted August 11, 2007 Share Posted August 11, 2007 Hi.. you can pass parameter in url like this. window.open("form.html?frm_par_win1=1&frm_par_win1=2");Regards,Vijay Link to comment Share on other sites More sharing options...
aspnetguy Posted August 13, 2007 Share Posted August 13, 2007 or you could place the data in a cookie. This really is only good for simple pieces of data and it is possible the user could block cookies Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.