how to retrieve the value of and element

how to retrieve the value of and element

HI
i want to retrieve the value of different elements in the page . Like listbox , testbox and some other .

How can do this work?

TNX