Im trying to create an iphone app
http://fixmysite.us/bobapp/indexnew.html
For some reason, it only seems to work in Chrome/Safari and iOs simulator.

How do I use javascript, like onclick, to make it so when I click a name, it calls like "firstName" + ".html" to get the page for the name selected.

for example if i click on bob, it slides over to a bob.html page that I create.

Is this the way i should be doing it or is there a better way? *

* I found another way to do it with jQuery Mobile, http://jquerymobile.com/demos/1.0rc1...-dividers.html, but with this way, I can get it to go the the firstName.html page, but cannot get the dividers to work like iPhone contact list where letter divider stays at top til moved by another letter.

Any ideas?

Thanks so much in advance.