Oops! Copy-past mistake. Should have been:
var found = pattern.find(function(pat){ return obj.value.include(pat); });
if (found) {
obj.next().insert('found: ' + found + '|');
__selectString(obj, found);
}
# Tobias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---