Accessing the values in a dropdown or lookup field in a page script

Accessing the values in a dropdown or lookup field in a page script

Hi


How can I access, in an html page script, the values (not the records) that exist in either a dropdown or a lookup field? I want to store these values as a variable in the page script.

Thanks

Dave