'findText()' Syntax, Parameters and Note : findText « Javascript Methods « JavaScript Reference

JavaScript Reference
1. Event Handlers Reference
2. Javascript Collections
3. Javascript Methods
4. Javascript Objects
5. Javascript Properties
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript Reference » Javascript Methods » findText 
'findText()' Syntax, Parameters and Note

Note:

Searches a TextRange object for the specified string and highlights it if found.
    
Syntax:
    
textRangeName.findText(param1, param2, param3)

Parameters:
    param1   Required; the text to find.
    param2   Optional; the number of characters of the text range. 
             A positive value indicates a forward count; 
             a negative one indicates a backward count.
    param3   Optional; the type of search. 

                     1           search backwards
                     2           match whole words only
                     4           make search case sensitive
                     131072      search for byte values)
                     536870912   match special marks)
                     1073741824  match Far East characters
                     2147483648  match Hebrew/Arabic characters
    

      
      
Related examples in the same category
1. 'findText()' Example
2. 'findText()' is applied to
www.java2java.com | Contact Us
Copyright 2010 - 2030 Java Source and Support. All rights reserved.
All other trademarks are property of their respective owners.