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);
You can replace the “body” selector with any other elements you want
If the element has an id you do “#id_element” if it’s a class “.class_element’
To learn more on selectors: http://api.jquery.com/category/selectors/