XML - Managing Data Exchange/XUL/Answers

Exercises
 * 1) Create a window that contains two text boxes that are approximately 200 pixels down the window.  Use either vertical or horizontal layout.  Label each text box and set default values for each text box that are different from each other. Create a button labeled ‘Swap text’. Next, create a function that when the button is clicked, will swap the text from one text box to the other.
 * 2) In this exercise, you will need to make two separate files. On one page, create a window that has two tabbed panels with different content on each.  On the other page, simply make a popup menu with one menu item ‘Open’.  Create a function that will redirect the browser to the tabbed page when the ‘Open’ menu option is clicked.

Question 1: Answer XulNum1.js

XulNum1.xul