You can customize certain web page behaviors, such as:
Use client-side JavaScript in pages to implement custom validation
Capture and handle Enter keys
Set focus to specific controls
Using Client-Side JavaScript in Application Pages
Capturing the Enter Key in Application Pages