Join Joe Chellman for an in-depth discussion in this video Solution: Form feedback, part of jQuery for Web Designers.
- [Voiceover] Okay, let's take a look…at my solution to this marking the form challenge.…Now remember, what we were doing…is making a big indicator that this field was required…and not filled out and that this required field…was filled out and that the answer was particularly good,…and we weren't gonna touch any HTML while we did this.…So here's what it looks like, here in my other tab.…The way I've done this is I've highlighted…the entire region where each field exists,…and I haven't touched the HTML…but I do have a good choice indicator here.…Let's take a look at all the files and see how this works.…
First of all, here's my HTML and I have these group classes…with a label and an input field in each one.…Then, in the CSS, down toward the bottom,…I've added an error class, which is also used on the label,…and then a message class,…which also effects the paragraph contained inside.…So now that I have those I need to apply them using jquery.…In order to adhere to my rule…that we don't touch the HTML.…First, I'm making a selection of the form using its ID,…
- When to use jQuery
- Installing jQuery
- Setting up functions
- Using jQuery classes
- Modifying the DOM
- Event binding
- Reading and setting values
- Integrating plugins
- Animating websites with jQuery
Skill Level Intermediate
1. jQuery Introduction
2. Essential Concepts
3. It's Easier in jQuery
4. Integrate a Plugin
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.