www.webdeveloper.com
Results 1 to 2 of 2

Thread: Find specific text on page and click link next to it...?

  1. #1
    Join Date
    Mar 2013
    Posts
    1

    Find specific text on page and click link next to it...?

    Hi,

    I do apologise, I'm rather new to this sort of thing.

    I'm curious, is it possible to use javascript to search a web page for a certain string of text, and then click a link next to the text?

    For example...if I were to search a page for "lucascain", and the search brought up the following...

    lucascain <a href="#">I want to click here!</a>

    Would it be possible? If not possible through javascript, what would I need to investigate?

    Thanks ever so much.

  2. #2
    Join Date
    Nov 2010
    Posts
    978
    yes, it's possible, provided that it is your own web page

    if it's somebody else's web page you would need to use server side coding or install a userscript

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