access opener window's elements in opened window
You are required to develop two HTML documents (web pages) as explained below:
â« The first page (AddStudent.html) will provide a number of rows to enter some information about students. Initially, there will be only one row to add a record. But user can add more rows by clicking the ¡§Add Row¡¨ button
Session combo box will contain the following options as shown in Figure 2:
Figure 3: Options in Session Combo
â« On clicking the update button against any row, another HTML document (UpdateStudent.html) will open up in a new window which will show exactly the same values entered or selected by the user in that row in the ¡§AddStudent.html¡¨ page.
For example, if in a 1st row, a user enters ¡§Saad¡¨ in the ¡§Name¡¨ text field, selects ¡§2005-2009¡¨ in the ¡§Session¡¨ combo box and checks the ¡§Repeater¡¨ checkbox, and then click on ¡§Update¡¨ button against it, same information must be displayed in the new window.
Hence, it illustrates that clicking the ¡§Update¡¨ button against a row will show only the respective information in a new window.
â« On UpdateStudent.html (opened up in new window), user can change any values like Name, Session or Repeater
|