Automatic url redirect from within ios app

Hi, I am working with an ios app which calls a survey Web app and displays a survey embedded in the ios app. In the survey app I have setup a redirect url, but this is not working. The expected behaviour is that the webbrowser would open the url. But this is not triggering the browser to open.

The html code that I am using is a Windows.top.