I am trying to detect when the value attribute changes dynamically through javascript.
In the example provided below, i am trying to detect when the value is being changed by click function.
`https://jsfiddle.net/ntgr758k/1/`
So far I have tried events like change, propertychange etc. could you please guide me in the correct direction.