HTML and CSS Reference
In-Depth Information
datePicker.current = task.dueDate;
// Select the status on the drop-down list
var dropDownList = document.getElementById("taskStatus");
dropDownList.selectedIndex = 1; // Select the second element
You're all set now, and ready to build and debug the application. You should get what is shown in
Figure 6-10. If not, carefully check the error messages you may receive from either the compiler or the
run time environment.
FIGURE 6-10 The TodoList application in action. Note the tooltip on the Add Task button.
Search WWH ::




Custom Search