The following jQuery script allows you to search for and replace the contents of a table cell with some other content. This can be used to dynamically format your table data.
Once a radio button has been selected there is no way for the user to reset the selection and select nothing. This javascript function clears the radio buttons for a radio group.
The following functions allow you to Left or Right pad a string with a specified number of characters. Lpad(pStart,pTotalSize,pPad) Rpad(pStart,pTotalSize,pPad)
The following script allows you to extract the user name of the current Windows user within an HTML page using Javascript. Unfortunately it only works within Internet Explorer.
This article will explain how to add a text counter to a standard HTML textarea element. This allows you to display remaining characters to your users as they type inside the text area.
Sometimes you need to remove options from an HTML select list using Javascript. The following function can be called to remove options from a select list given the value of the relevant option.
The following JavaScript function allows you to set the visibility of an HTML element to be visible or invisible by the value of its ID attribute. It also allow you to toggle the current visibility.