0

I have this custom js function

$.fn.sense=function func() {

and I am calling it later as

setTimeout($.fn.sense(),1);

Now the above line is giving a weird error on IE8 .. It says invalid argument? :(

How so? It works in all sane browsers

Hello Universe
  • 2,992
  • 7
  • 46
  • 82

1 Answers1

3

Try this

setTimeout($.fn.sense,1);
Swaraj
  • 383
  • 2
  • 14