Chapter 8. JavaScript and Ajax Section 8.0. Introduction Adding DOM Elements to a Page Creating a Custom Report with Drag and Drop Dynamically Adding Items to a Select List Monitoring the Content Length of a Textarea Updating Page Elements with RJS Templates Inserting JavaScript into Templates Letting a User Reorder a List Autocompleting a Text Field Searching for and Highlighting Text Dynamically Enhancing the User Interface with Visual Effects Implementing a Live Search Editing Fields in Place Creating an Ajax Progress Indicator Previous Next