Assuming you open the window thus:
WinId = window.open(...)
if !(WinId.opener) WinId.opener = self;
then when submitting, you can ask
if(window.opener.parent.name == 'theFather')
Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:
• Look-up is performed every time a variable is accessed.
• Variables are resolved backwards from most specific to least specific scope…
When you need to keep track of a simple list of numbers or strings, the Array object is your most direct tool. As we saw in my earlier EE Article (http://www.experts-exchange.com/A_3488.html), typical array handling might look like this:
The viewer will learn the basics of jQuery, including how to invoke it on a web page.
Reference your jQuery libraries: (CODE)
Include your new external js/jQuery file: (CODE)
Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles.
Reference your jQuery libraries:
Include your new external js/jQuery file:
Write your first lines of code to setup your site for jQuery…