| | |
Description | Compatibility | Level/ Author | Views/ Date Submitted | User Rating |
| |
| |
 |
_Restrict / Delete characters from a text box string | JavaScript | Intermediate / Duane Warsham | 14820 since 1/19/2004 11:50:06 AM |
By 5 Users 2 Excellent Ratings
|
| |
The user can set a character that the user wants to not allow in an text box entry field. This performs the check for all text boxes on a form. |
| |
| |
| |
 |
A neater trim function using RegExp | JavaScript | Intermediate / Simon Goodwin | 14277 since 9/19/2003 7:51:20 AM | Unrated
|
| |
Function to remove trailing and / or leading whitespace characters. Not quite the one liner it is in VBscript but neat anyway. |
| |
| |
| |
 |
A Replace String Example THAT WORKS | JavaScript | Intermediate / Mark Anthony Entingh | 17921 since 2/21/2004 12:26:28 AM |
By 1 Users
|
| |
All of the replace string code I've found on planetsourcecode DOES NOT WORK! I took one of the broken examples and fixed it. This is no joke. It does work. |
| |
Please support the site by visiting our
sponsor:
|
| |
| |
 |
Add commas to whole numbers (using simple class and methods/instances) | JavaScript | Intermediate / Steven Jacobs | 24042 since 2/28/2003 11:05:41 PM |
By 2 Users
|
| |
I don't know if this already exists here at PSC, but I had some time on my hand and I wanted to submit this for beginners and intermediates who dislike the idea of "OOP" programming in javascript. When you first look at the code, you may get the impressio ...(description truncated) |
| |
| |
| |
 |
Add or Subtract items to a string & Updates | JavaScript | Advanced / Jonathan Astie | 17043 since 2/4/2000 |
By 1 Users
|
| |
Send two parameters to this function and it will maintain a running total. |
| |
| |
| |
 |
Add/Edit any query string value through javascript | JavaScript | Advanced / Tittle Joseph | 27026 since 6/1/2003 8:43:58 AM | Unrated
|
| |
We usually want to change a single value within a querystring without altering entire querystring, this can be done through little string manipulation. |
| |
| |
| |
 |
Anchor to Iframe in Another Page | JavaScript | Beginner / Luciano Skorianez | 8655 since 12/14/2003 11:40:13 AM | Unrated
|
| |
Com esse código, você conseguirá apontar para uma âncora, dentro de um Iframe, a partir de outra página. |
| |
| |
| |
 |
Apply BBCode to Textarea | JavaScript | Intermediate / Matt DeKok | 5022 since 7/18/2008 12:33:30 PM | Unrated
|
| |
This script will insert some bbcode where the selection is located in a textarea form field. There is also an additional function for link bbcode with prompt feature. |
| |
| |
| |
 |
Auto-parse any search string from a URL | JavaScript | Beginner / Martin Budden | 8021 since 8/5/2003 2:52:29 AM |
By 2 Users
|
| |
This JavaScript will parse any search string (the bit in the URL to the right of "?") and automatically declare all search parameters as JavaScript variables with values. It handles both numeric and string variable types correctly. |
| |
| |
| |
 |
AWESOME String Replace | JavaScript | Beginner / w0rm | 8423 since 8/9/2004 4:30:40 PM |
By 2 Users
|
| |
To replace a word or characters in a string, using JavaScript. |
| |