467,081 Members | 976 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,081 developers. It's quick & easy.

drop down list

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?
Jul 23 '05 #1
  • viewed: 1709
Share:
1 Reply
In article <85************************@posting.google.com>,
te****@lycos.com says...
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?

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Miguel Dias Moura | last post: by
13 posts views Thread by Leszek Taratuta | last post: by
2 posts views Thread by Yoshitha | last post: by
5 posts views Thread by Vigneshwar Pilli via DotNetMonster.com | last post: by
1 post views Thread by pmelanso@uwaterloo.ca | last post: by
8 posts views Thread by Ed Dror | last post: by
4 posts views Thread by TycoonUK | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.