I've never seen it before, but I reckon it can be done.
description = prompt ("insert your description here, please");
Now, we want to be able to retrieve a date from a datepicker inside this prompt.
So, prompt comes up, asks for a description, you fill in your description, click ok, and then another prompt box comes up with a datepicker. That's the idea, but it seems impossible to achieve.
Can someone guide me to the right direction?
It looks like a modal dialog would be more appropriate than a form: