contains method
Test if a string is part of this DOMStringList.
contains(str )
Parameters
String str
The string to look for.
Returns
booleantrue if the string has been found, false otherwise.
这对您有帮助吗?