dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Search string in a passed webpage/URL

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Search string in a passed webpage/URL

    I have a function like below which passes the url of a page

    function openLOG(URL)
    {
    URL.search("WARNING", "ERROR", EXCEPTION", "FATAL");

    }

    Will the above function do a search operation of the strings passed in the passed URL.

  2. #2
    Join Date
    Jul 2012
    Posts
    2
    Just to add more info..
    I am not trying to search any strings in the passed url. I am trying to search the strings in the webpage of that url.

  3. #3
    Join Date
    Jun 2007
    Location
    Winnipeg, MB CANADA
    Posts
    128
    no. it won't work.

    You will have to open the page and check the DOM for any of that text.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles