/    Sign up×
Community /Pin to ProfileBookmark

Click a button in all same div tags

Hello friends,

I have a question about clicking in a web site who is not ours.

<div class=”button x-button” data-user-id=”1″ title=””>Click</div>
<div class=”button x-button” data-user-id=”2″ title=””>Click</div>
<div class=”button x-button” data-user-id=”3″ title=””>Click</div>
<div class=”button x-button” data-user-id=”4″ title=””>Click</div>
<div class=”button x-button” data-user-id=”5″ title=””>Click</div>
<div class=”button x-button” data-user-id=”6″ title=””>Click</div>
…..

There is a web site which has this statements and I want to write a code pieces to adress bar (which has internet pages like [url]http://www.webdeveloper.com/forum/newthread.php?do=newthread&f=3[/url]) to click all butons whose name is “Click”.

Is there any possible way to do that?

If I can not explain the problem, sorry about it ?

Thanks for helps

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@omnicityJan 17.2011 — I don't think you can (or should) be doing that from a web page, better to look at CURL or WGET probably?
×

Success!

Help @Cagri spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...