Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML5 Mobile Web Applications!
You have completed HTML5 Mobile Web Applications!
Preview
In this video we learn how to combine Backbone and jQuery Mobile to create dynamic jQuery Mobile pages based on Backbone data.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So now we have our list of notes and we're displaying them right here
0:00
and let's see what happens when we try to click on one.
0:01
We get an error loading the page displayed here
0:04
and we can see in our JavaScript console that there was an attempt to get this URL:
0:07
localhost/note_ and then the id.
0:12
Now, if you look at our code,
0:16
what we're actually linking to is the anchor note_5d7and so on and so forth.
0:18
So what happens is when jQuery Mobile gets a link clicked to a page
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up