jquery slideshow, index not advancing-Collection of common programming errors

You should probably want to fix the errors your javascript makes first. It keeps on outputting this:

Idx: 0 - IdxTR: 8 Img: images/gallery/alison.jpg
jquery-1.4.3.min.js:55Uncaught TypeError: Cannot read property 'handler' of undefined
information3.php:20Idx: 0 - IdxTR: 8 Img: images/gallery/alison.jpg
jquery-1.4.3.min.js:55Uncaught TypeError: Cannot read property 'handler' of undefined
information3.php:20Idx: 0 - IdxTR: 8 Img: images/gallery/alison.jpg

and so on. The error seems to be after your console.log, but if it before your Idx++, it will never be changed from the 0 , and that’s what your are seeing

addition:
Now I’m getting confused (starts coffee), but check this.:
Try the simple Idx+1 way, or ++Idx.

From this page (quite random page, I admit)

var a = 5;
   b = a++;
    (b contains the initial value of a, which is 5.
    a, on the other hand is now equal to 6)

   var a = 5;
   c = ++a;
    (In this case, JavaScript first adds 1 to a, changing
    its value to 6. This value is returned to c.
    Thus, c = 6)

I don’t know what’s happening in your case, but try the simple +1 method please?

Originally posted 2013-11-09 19:44:48.