Selecting calendar date on website

Hi,
Use click event and in the selector aaname (which has the date value you clicked)pass the variable(which user would like to pass) .
For reference.
and solution.