I need help with the following code which doesn\'t work:
var timeoutID=0; var currentImage=0;//first image is position 0 in arrImages array var arrImages=[bla bla bla
'complete' is for native javascript object. so you should get javascript object from jQuery. like,
$('#myImg')[0].complete
or
$('#myImg').get(0).complete