John John - 1 year ago 112
iOS Question

HTML redirect within body tags?

Is there a method that gives the same result as the meta redirect that can be used in the body of an html doc? Or a reference in the body to CSS? I've been searching but the only things I can find want to make use of other technologies.

N.B. this is for an iOS UIWebView so no php and I'd rather not load any extra js.

Answer Source

If you can use Javascript, something like this should help you:

<script type="text/javascript">
    window.location = "";

Check this link to see how to place that inside a function that can be called with "onclick" or "on body load", etc...


Another good thing to read about this:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download