在一個頁面index.html中,使用到了iframe <iframe name="iFrame" allowtransparency="true" src="/aaa/bbb.html?name="tom"&sex="male" width="100%" height="100%" id="student" style="border: none;">這個iframe引入了另一個頁面bbb.html,并且傳入了兩個參數name和sex但是在bbb.html頁面中如何獲得這兩個參數呢?我在頁面中一直是undefined?
iframe傳參問題
喵喵時光機
2019-03-13 14:15:46