@Manoj Mohan
Thank you for your continued assistance.
For other reasons window.onload does not work for this application. I instead need to use document.ready function.
When I replace window.onload with document.ready the sample does not work.
see fiddle for same example using document.ready
https://jsfiddle.net/ukLv658q/1/