Fill the current time based on the selection of the country in html dropdown
One way to do it is to get the country name of the select tag with $( "#myselect option:selected" ).text(); or it's value  with $( "#myselect" ).val(); and then use a switch statement to change the date time field.
I have an HTML drop-down where country names are specified.And there is another field where a date time field is specified.
When a user selects a country i want the date-time field to be filled with current date-time of that particular country.Please let me know in what all ways this can be done and how.
Thanks in advance.