|
-
Musical chair
Sorry, one more thing...
Say I have an array of 5 objects in javascript. I have a button that says "prev" and another, saying "next." how can i make it so that "prev" makes InnerHTML show the previous item in the array, while "next" uses InnerHTML to show the next in the array, while stopping at the last item and going no further?
Thanks again
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|