O'Reilly logo

HTML5 Data and Services Cookbook by Mite Mitreski, Gorgi Kosev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Custom Input Components

In this chapter, we will cover the following:

  • Using contentEditable for basic rich text input
  • Advanced rich text input
  • Creating a drop-down menu
  • Creating custom dialogs
  • Creating autocomplete for input
  • Creating a custom single-selection list
  • Creating a multiple-selection list
  • Geographic location input using maps

Introduction

So far, we presented several different ways for getting input from the user. HTML5 offers many new features that enable the functionality of input components that was previously done with JavaScript.

Often, there comes the need to extend this standard functionality. In this chapter, we will see ways for creating some custom input components and using the already available ones, where we add additional ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required