The second part of the video introduces jQuery and how to use it in your projects. You will then manipulate the DOM and finish up with a quick overview of a couple of advanced jQuery features.
About the Author
Chip Lambert has been developing websites and web applications for almost 20 years. He has authored two other books for Packt Publishing: Instant RESS Implementation How-To and Mastering jQuery Mobile. He is currently a software engineer for Jenzabar Inc. and an online instructor for Bluefield College, teaching courses in web and mobile application development.
You need to store the data in the script and use it at various points.
So far, you have learned how to store data to use again, but what about a series of statements that we may use over and over again?
Is there an alternative to the for loop?
There could be times when you need to execute your code only if certain conditions are true.
After seeing how the if statement, there could be a requirement where you need to check multiple conditions and each condition has its own code execution.
The DOM seems so daunting; how can we get the pieces we need to use?
Being able to select nodes is fun but not very productive on its own. You need to learn how to make changes to the DOM after you select the element.
jQuery can be used from the local file system or via a Content Delivery Network (CDN). What is the difference between the two, and which is better?
We have been talking about jQuery and the power behind it, but we have not seen it in action yet.
It is easier to select the nodes of the DOM with jQuery, but just selecting them is no fun. How can we manipulate them?
The final piece we need to manipulate the DOM is to add elements as needed.
jQuery is very powerful, but it seems to be lacking in form validation. How can we use jQuery to validate web forms?
You have learned how to change HTML or the text of DOM elements; can we change the CSS? Also, it would be nice to add some neat effects to elements.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.