I have a problem when programming for apps. I have a UI that displays but when I do a
<script type="text/javascript">
window.location.href="http://mywebsite.com";
</script>
after I have done it my UI disappears, does the code overlap the UI or what is happening? Is there anyway around this?