0

hi,
i just need to
1.navigate to the daniweb forums page and then click the memberlogin img via program
2.then i ve to fill the username and password of my account
3. then to click the 'go' button to login into the forum via program

i tried to do this process but i ve got struct in the first step itself. it navigates but it does not click the member login img.

<html>
<head>
<SCRIPT LANGUAGE="Javascript">
function autoclick(){
document.webservices.submit();
var me = document.getElementsByTagName('img');
for (var i=0;i<me.length;i++) 
{ 
   if (me[i].alt == "Member Login") 
{
     me[i].click();
   }
}
}
</script>
</head>
<body>
<form name="webservices" method=post action="http://www.daniweb.com/forums/" target="new_window" onSubmit="window.open('', 'new_window', 'width=450,height=300,status=yes,resizable=yes,scrollbars=yes)">
<INPUT TYPE="button" VALUE="click"
onClick="autoclick()">
</html>

this is the code i used.. reply where i ve wrong and why this code doesn't work.

thanks in advance.

1
Contributor
1
Reply
4
Views
7 Years
Discussion Span
Last Post by khan17
0

hey i really wondered that no body ve the knowledge in this stream to help me! y cant u help me regarding this since i need this for my project..


come on guys .... make ur reply soon..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.