Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

vishal gupta
vishal gupta
4,920 Points

How can we implement next/prev button in jquery mobile application to navigate through next/prev pages????

Please Help!

1 Answer

Steven Parker
Steven Parker
231,008 Points

There are several possible approaches.

But the first thing that comes to mind is to have the event handler for the button load the URL for the next or previous page into document.location.

If you need more specific hints, you might want to show your code or provide a link to github repo or live coding site where you're working on it.