Assignment 6

Back to # 6 - Data Types and Operators Table of Contents # 6 Review Questions

 

1. In the following HTML tag, what kind of information do you think is being passed with the event handler? Hmm.. maybe a phone number? Create a web page that uses this input box, and just type in 10 digits with no punctuation into the box. Write the function named 'format' that will display the information being passed in an alert box.

<INPUT TYPE = "text" NAME= "phone" onBlur = "format(this.value);">

 

Return to Top of Page | Back to Main Menu