Hi,I am really caught in aproblem any help is much appreciated.I'll try my best to write it out clearly.
I have an asp page in which I have a list box which gets loaded dynamically using javascript.This is how I am doing it.
I have an array ArrListBox[] which hold all the elements I want in list box.The I call function
GetListBox(document.form.ListBox,ArrListBox)
from PageInit() function(which is loaded on onload event of Body of the page).The function is written as following:
GetListBox(combo, items)
{
var i;
var obj;
for (i = 0; i < items.length ; i++)
{
obj = items;
combo.options[combo.options.length] = new Option(obj.Name, obj.ID);
}
}
And in my HTML code the statement for the ListBox is as follows:
<td width="150">
<select name="ListBox" size="1" id="ListBox"> </select></td>
The problem is that this code loads up my list boxes very well in IE and it works well as a pop-up menu but when I run my page in Netscape,it doesn't expand out and clicking on the extension edge I just get a dark blank line.
Anybody with any solutions Please help me......
Thnx
I have an asp page in which I have a list box which gets loaded dynamically using javascript.This is how I am doing it.
I have an array ArrListBox[] which hold all the elements I want in list box.The I call function
GetListBox(document.form.ListBox,ArrListBox)
from PageInit() function(which is loaded on onload event of Body of the page).The function is written as following:
GetListBox(combo, items)
{
var i;
var obj;
for (i = 0; i < items.length ; i++)
{
obj = items;
combo.options[combo.options.length] = new Option(obj.Name, obj.ID);
}
}
And in my HTML code the statement for the ListBox is as follows:
<td width="150">
<select name="ListBox" size="1" id="ListBox"> </select></td>
The problem is that this code loads up my list boxes very well in IE and it works well as a pop-up menu but when I run my page in Netscape,it doesn't expand out and clicking on the extension edge I just get a dark blank line.
Anybody with any solutions Please help me......
Thnx