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
  • 3,248
  • 7
  • 50
  • 86

1 Answers1

3

Try this

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