1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HELP] How to search the source for a term and use if then statements.

Discussion in 'HTML & JavaScript' started by ChapoGuzman, Aug 24, 2013.

  1. ChapoGuzman

    ChapoGuzman BANNED BANNED

    Jun 7, 2013
    Likes Received:
    im trying write a java script that will locate a word on a page and if it does it will fire off a function and if it doesnt it will do nothing

    so basically

    } search() find my search term
           if found
             do this
            so this
    seems so simple but I jsut cant find anything to help me understand how to do this.

    thanks in advance you will be helping me out alot