This is my javascript code, I send ajax json api request on page load. This code only throws error when showDropDown(month) is used in page load method. it work
showDropDown(month)