jP.SameNames()
Method
jPoint.sameNames( name1, name2 )
Overview
Compares two names to see if they are the same except for whitespace and special characters to abstract away from encoding and decoding strings. It is used primarily to compare the display names of Form fields and URL parameters.
Arguments
|
Name |
Type |
Optional |
Description |
|
name1 |
String |
false |
name1 is a String. |
|
name2 |
String |
false |
name2 is a String. |
Returns
True if strings are equal or are equal once stripped (see jPoint.strip), else False.
|
Last modified at 12/4/2009 2:29 PM by Luke Orman
|
|