This javascript works in IE8 but not Chrome, I am baffled. Here is the script:
function gotoTask(strPath) {
alert(strPath);
window.location.href = strPath
}
And this is how it is called in html
<button class="cButton" onclick="javascript:gotoTask('http://www.google.com');">Update IPA Services</button>
Running in IE I get Google.com, but in Chrome it redirects to itself.
Go to the complete details ...