editText="Editable Text">
<option> Baseball</option>
<option> Football </option>
<option> Soccer </option>
</select>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
Save the file as EditableSelectTest.htm in the Dreamweaver Configuration/Commands folder.
3
To test the example:
Restart Dreamweaver.
1
Select Commands > EditableSelectTest.
2
When you select a value from the list, an alert message displays the index of the value and the text. If you enter a
value, an alert message indicates that nothing is selected.
Database controls
Using Dreamweaver, you can extend the HTML
variable grid control. The database tree control displays database schema, and the variable grid control displays
tabular information.
tag to create a database tree control. You can also add a
select
DREAMWEAVER CS3
82
Extending Dreamweaver