hi,
im trying to automate a click on a link using javascript for which i have to navigate to a website first and then trigger a click on a link present there. for example i ve mentioned the http://www.bing.com
here and after navigating to bing home page it should automatically click the feedback link and go to that corresponding page. i ve tried
like
<html>
<head>
<script>
function ClickURL()
{
window.open('http://www.bing.com/');
var link = InternetExplorer.document.getElementById['sb_feedback'];
link.click();
}
</script>
</head>
<body onLoad="ClickURL()">
</body>
</html>
but it not works. it just navigates to bing home page but not triggering the click on a feedback link. anybody help.
thanks in advance.