Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Open Points: 125 Time: 03:28 - Apr 09, 2010  

nishakhan

how do i programmatically click a link on a website from my application

im doing a project and my task is to login to a website and click a link on the page which is next to login page of that website. this all has to be done with a single button click in my html application.
when i press the buttton
1.it should fill my username,password & click the submit or login button(login page)
2.then in that second page it should click a link there and go the specified page(third page).

In short when i click the button i should view the third page directly bypassing the login and second page. need help!

Answer Discussion
Tutorials

 

nishakhan

Date:: Apr 13, 2010

Time:: 04:34

hi,
i ve tried to auto click link on a website. for example i ve mentioned bing site here. this is the code i ve used

<html>
<head>
<script language="javascript">
function ClickLink()
{
document.webservices.submit();
document.getElementById('sb_feedback').click();
}
</script>
</head>
<body>
<a href="javascript:ClickLink()">click me</a>
<form name="webservices" method=post action="http://www.bing.com/" target="new_window" onSubmit="window.open('', 'new_window', 'width=450,height=300,status=yes,resizable=yes,scrollbars=yes)">
</form>
</body>
</html>

but it does not strikes the link.. it will be helpful for me in my project if u show interests towards this.. need ur help urgently..

thanks.

nishakhan

Date:: Apr 14, 2010

Time:: 05:58

hello experts,


im repeatedly writing hre myself just to draw ur attention towards this thread..

the task seems hard for me since im new.. but experts feel easy to solve this na..

then y r u not ready to show ur interest and share ur knowledge here.

it will help people like me..

so do help..


thanks.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es