I have tried the following scenario but it is not working. Any inputs please? http://jsfiddle.net/a6rv04pu/1/