Jump to content

finding out how many links of the same type


Mr.Sniper
 Share

Recommended Posts

lets say i want to click a link that says 'stop search' but i want to make it so that it will only click it if there are 5 links that say 'Dragon'....

I knwo it would be like:

$n = Number of links that say dragon

If $n = 5 then

ieclicklink("stop search")

and so on

(thats just an example for explanation purposes so i know its not right lol)

and what i need to know is how do i make it so that the variable is the number of links that say 'dragon'

if it done'st make sense tell em which part and i'll try to explain it better

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...