document.EditView properties in javascript

PePiTo

New Member
i'm almost a newbe in javascript and i noticed that i don't always have to refer to a text field or a html-options like this:var dropdownelement1 = document.getElementById('test_dropdown');i can also refer to it like this:var dropdownelement1 = document.EditView.test_dropdownwhat is the difference between the two?and how can know what are the properties in using the second example, for example, i know:document.EditView.test_dropdown.value - for getting current textdocument.EditView.test_dropdown.options - for getting list of combobox options.how can i see the full list of properties?
 
Back
Top