Selected Data that will be in two input directly

Selected Data that will be in two input directly

When I have selected a date, the data of 'from' should also have data in the input 'a' and 'to' should also have data in 'b'.

In other words, 'a' is a replication of 'from' and the same thing for 'b' in realtime.

How should I do it?

Thanks!



http://jsfiddle.net/9L67bjr9/1/