onclick alerts ok, onclick not passing to function. function now has object (JSON format changed). need replace .push() with function that matches el clicked to object in json, then append that value to the txtDOT div.