code:
child java script:
function btn1_onclick() {
window.open('FrmReportStudentYearlyAttendance.aspx?Operation=C&User_ID=' + Student_ID, 'Users', 'left=350,top=250,scrollbars=NO,status=NO,resizable=NO');
}
here i used window.open() but this opens new window with aspx page
i had tried opener.window()
and window.parent() but these are not working
if possible please send me code
here i used window.open() but this opens new window with aspx page
i had tried opener.window()
and window.parent() but these are not working
if possible please send me code
Manoj RajputPosted Jan 4, 2013, 1:06 AM
Try this code.
myRef = window.open(''+self.location,'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0');
sudharsan sPosted Jun 29, 2012, 2:49 AM
Check this URl..
http://stackoverflow.com/questions/9600969/access-child-window-elements-from-parent-window-using-javascript