Hello List!
I'm having a little problem w/ getting my select box populated...
I'm passing in a 'LocationID' to this page and need to write a function to take that LocationID and populate the select box when the page is loaded.
Here's my onload:
<body topmargin="0" leftmargin="0" onunload="Javascript:closeWindows();" onload="loadTopSVGVariables(document.forms[0].LocationID);loadBottomLocationID(document.forms[0].LocationID);">
And the function I'm trying to get working:
function loadBottomLocationID(LocationID){
if ( LocationID != null ){
document.forms[0].LocationID = new Option(LocationID);
}
}
So, what I want is to get the LocationID that is being passed in, and populate this value in the select box on the page...
Any help or assistance you could provide would be greatly appreciated!
Thanks in advance for your time and help!
-jiggy_g