Assuming 'close' is a function, it should be called as:
close();
not:
(close)
In future, and now if that doesn't work you need to post your FULL code. A tiny snippet of code like that is pretty much useless when it comes to trying to debug.
Assuming 'close' is a function, it should be called as:
close();
not:
(close)
In future, and now if that doesn't work you need to post your FULL code. A tiny snippet of code like that is pretty much useless when it comes to trying to debug.