when i given this , i was displayed with fig41 to fig 60.
and the fig21 to fig 40 are not diplaying.
my idea is to display 21 to 40 movies for the firsttime when
i clicked on the button.
if i clicked on the same button for the second time it should
be diplayed with 41 to 60 movies.
but i can get that with the help of the above script.
can anyone please modify it. i need it urgently
You are re-declaring count with every on(press), so your
count=count+1 is discarded every time. I don't see why it even
works with first press though - are you sure you don't have more
than one count defined?