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.

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..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.