Try

window.location = url;

Also use

window.open(url);

if you want to open in a new window.