The parent page's URL is: http://lcoalhost
Child page position in the folder htdoc/page
, Child page name: 1.php, 2.php, 3.php
By default, the parent page's iframe
is 1.php. 1.php has some buttons, with which I can switch to 2.php and 3.php (2.php, 3.php are also in this iframe)
Can iframe
child page change the parent page's URL?
Such as: when iframe
child page is 1.php, the parent page's URL is http://lcoalhost or http://lcoalhost / index.php? Page = 1
When iframe
child page is 2.php, the parent page's URL is http://lcoalhost/index.php?Page=2
When iframe
child page is 3.php, the parent page's URL is http://lcoalhost/index.php?Page=3