drop down list

T

Tom Ewall

I have an iframe which has a drop-down list, which I'm trying to use
to refresh a drop-down list in the main page. I'm using this call to
refresh the page:

window.parent.document.all.asset_id_list.innerHTML =
document.all.assetid.innerHTML;

When the list is displayed in the main page, it doesn't display as a
drop-down list, but instead displays the contents of the list like
this:

SelectOne Item1 Item2 Item3 etc.

That is, it isn't building a list, but just writing the items on a
line. Any ideas on what's going on and how to fix this?
 
H

Hywel

I have an iframe which has a drop-down list, which I'm trying to use
to refresh a drop-down list in the main page. I'm using this call to
refresh the page:

window.parent.document.all.asset_id_list.innerHTML =
document.all.assetid.innerHTML;

When the list is displayed in the main page, it doesn't display as a
drop-down list, but instead displays the contents of the list like
this:

SelectOne Item1 Item2 Item3 etc.

That is, it isn't building a list, but just writing the items on a
line. Any ideas on what's going on and how to fix this?

Your code is wrong. Do you have a URL that demonstrates this problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top