I searched for a solution Online and what I found was not to my taste, to be honest I found a plethora of ugly code solutions to what seemed to be a simple problem. I even found people used jQuery to solve the problem (YUK!). My view is to code any rendering functions using the back end language, I also …