<script> function func(url){ alert(url); window.location = url; } </script> 这样重定向,位置是哪里呢?如果在框架内的话会怎样?