When the field is empty, it should have something like (___) ___-____ in a soft grey color.
Allows only digits to be entered into the field and formats the number to the mask in real-time.
Form will have two phone input fields (HomePhone, WorkPhone) - First field needs to have focus on page load.
Form needs to submit when user presses Return/Enter -or- clicks the submit button.
Need ability to be able to specify 'value' element in some cases.
Needs to work seamlessly across all major browsers, IE, Firefox, Chrome, Safari, etc.
No large libraries or includes. Code needs to have as small a footprint as possible.
Provide working example on standalone html page.