A Less Intrusive Submission Error System Part Two
Welcome to part two, I'm glad you could make back. In part one of this tutorial, we looked at the basic HTML and CSS needed for our test form, and made a start to the required JavaScript. So far our script has the ability to search each input field to check that data has been entered into each of the required fields. Let's pick up right where we left off and add the code that displays a message if a field is left empty. Gather up the files from last time, and open them.
Dan Wellman
Dan Wellman is an author and web developer based in the UK. Dan has written three books so far; the latest, jQuery UI 1.7: The User Interface Library for jQuery, was released at the end of 2009.
Dan has been writing web development tutorials for over 5 years and works by day for a local digital media agency in his home town of Southampton.