I\'ve been fighting with this simple piece of code forever. I\'m trying to use a to call a simple JavaScript function to hide a
Try changing the close function name to something else like closeit because it may be confusing it with the window.close() function.
close
closeit
window.close()