I have wrapped my function call in a setTimeout
method like this with for example a 2 second delay. But it is NOT doing anything. It is not causing any delay.
What have I wrote wrong?
onclick="setTimeout(MyOriginalFunction('2004', 'Y', 'M', '12'),2000);"