I\'ve been trying to implement function on button click, but the button\'s were not working in IE. here is my code.