Fixed the onchange events for controls
Fixed the onchange events for controls