Look first in the Dreamweaver Configuration/Shared/Common folder for useful extension code because this folder contains the most current and commonly used functionality.
For example, open the Hypertext object file (Hyperlink.htm) in the application folder Configuration/Objects/Common. Notice that the head tag of the file contains the following lines:
LIST_LINKS = new ListControl('linkPath');
LIST_TARGETS = new ListControl('linkTarget');
With the new listControl declarations, Hyperlink.js defines two new ListControl objects. The code in the Hyperlink.htm file then attaches them to the SELECT controls in the form, as follows:
<td align="left"> <input name="linkText" type="text" class="basicTextField" value="">
<td align="left" nowrap><select name="linkPath" class="basicTextField" editable="true">