Topic: SetTimeout() invalid argument in INTERNET EXPLOER
Hi,
I having trouble with a piece of code that is throwing an Invalid Argument error in IE only.
Code:
setTimeout('callGA(\'' +url +'\')', 1000);
The method is declared as follows.
Code:
function callGA(GAurl) { do something }
Through alerts and other debugging the invalid argument is the "callGA(url)" argument that is being passed into setTimeout(). I am sure I am just doing something silly but any help would be really appreciated.