Skip to Content
0
Former Member
Jun 29, 2007 at 08:48 AM

Dropdown listbox in HTML

20 Views

Hi,

I need to create a Dropdown listbox in HTML (can't use htmlb) and I'm using the following javascript:

function salta(Sel)

{

if (Sel.ad.selectedIndex != 0)

{

document.location=Sel.ad.options[Sel.ad.selectedIndex].value

}

}

but I don't know how to populate it with data from a table, can anyone help me?

PS. I also need to know if it's possible to create a date field with a calendar (like htmlb:inputField type = "DATE") but using plain html.

Thanks!

Carles