I want to output a message to the user in the same html page that confirms the date they have selected. I don't want an alert box, just to display it in the same page that they are in.

Thought it might be something like this, but I'm not sure:

```
document.writeln("You have selected: " + dateText);

```