O'Reilly logo

Oracle® Web Application Programming for PL/SQL® Developers by Benjamin Rosenzweig, Solomon Morse, Melanie Caffrey, Susan Boardman

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

Unit 18.1. Add Functionality to Forms

Use Dynamic Drop-Downs to Search

Drop-downs are useful tools for allowing users to quickly search for the record they would like to see, without going to a separate search screen. A drop-down can be placed at the top of a detail-level screen to allow a user to select a new record to view and refresh the screen based upon that value. Implementing this functionality requires an understanding of JavaScript events and creating multiple forms on the same page.

One of the JavaScript events described in Chapter 7, “Introduction to JavaScript,” is onChange. When a drop-down selection box changes, an onChange event handler can respond to this action. The example below shows an onChange event handler attached to ...

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