Forum Moderators: open

Message Too Old, No Replies

Create select menu via dom

         

hOtTiGeR123

2:43 pm on Oct 23, 2008 (gmt 0)

10+ Year Member



Hi,

How can I create a select menu using the dom?

Thanks

coopster

4:35 pm on Oct 23, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



One of the more common approaches is to use the createElement, setAttribute, and appendChild methods of the DOM. There are a number of resources describing these methods, one of my preferred is the open source mozilla project developer pages.
[developer.mozilla.org...]

hOtTiGeR123

7:39 am on Oct 24, 2008 (gmt 0)

10+ Year Member



Thanks :)