The jQuery UI Plugin
The first item on the new list is really just an improvement on one of the original features. We did provide a way for people to volunteer to help on events, but it’s not very user friendly. So, we’ll tackle this one right away. We’ll add a button to the TekEvent show view that will allow logged-in users to volunteer to help on this event. When they click it, we’ll show them a nice confirmation dialog box, and if they confirm, we’ll add them to the volunteers collection for that event.
We’ll start with the button. At first, that would seem as simple as adding a <button> tag somewhere on our page. But there is some logic involved. We don’t want to show the button if the user is not logged in. Then if they are logged in, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access