Message Format
General
Use this script to construct messages displayed for end users. The function takes a set of objects, formats them, then inserts the formatted strings into the pattern at the appropriate places.
Try the demo here
Notes
- Created by: Yossi Admon
- Posted: March 5, 2007
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: messageFormat.js
Head
Paste this code into the HEAD section of your HTML document.


Leave a Response
(0 comments)