Language
General
Have an Alert box with new line in it
Print special character like copyright sign
Use COOKIE to count the user access to a page
Change an image when clicking on it
Check and Uncheck a checkbox
Emulate the BACK button
Have a simple on-screen clock
Open a window with no menu, toolbar or status
Hide a Frame
Hide a DIV
Highlight a table row
Close a window after a timeout
Emit a beep
Play a sound
Make a window close itself after a delay
Use an apostrophe (') in the window status
Scroll a page title for special effect
Convert from type X to type Y
Have your own error message
Get the user language
Read a data file from the server
Insert a text file into a page
Include a file into a page
Read an HTML page from the server in a variable
Display a page from a variable
Validate an email address
Do simple animation
Detect if a window is already opened
Easily handle parameters in the search part of a URL
Call javascript from HREF
Use a multidimensional array
Change hyperlink text color
Add a Watermark image to your page
Trap the right mouse click
Update a parent window from a child
Read a meta variable
Close a browser
Get the current page name
Encode a URL
Create a rectangle
Test if a variable exists
Resize an IFRAME based on its content
String
Compare Strings
Remove control characters from a string
Remove all token occurrences from a string
Replace a token by another in a string
Use regular expressions to validate/format a string
Format a number as Money
Date
Have year on 4 digits from a Date object
Validate a date
Useful date functions
Language
If you find this article useful, consider making a small donation
to show your support for this Web site and its content.