This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have an array that I'm putting on the request inside my servlet
I have 2 divs that are set to not display. When the page is loaded I Want to see if the user needs to see that information. I can check that by the countries that return on the request. When the page loads the function fires and an alert box displays "inside checkCountries" but all the array index values are undefined. Am I accessing the Array incorrectly? Can it be accessed from the hidden tag like that? Is there something fundamentaly wrong about what I'm doing or is the event just firing before the page gets to the hidden tag?