passing in javascript values into iframe tag

后端 未结 3 1600
忘了有多久
忘了有多久 2021-02-09 12:48

What\'s the best way to pass in the value held in a javascript variable into an iframe call on the same html page? I\'m trying to improve my site\'s page response times by movin

3条回答
  •  长情又很酷
    2021-02-09 13:22

    A simple away to get the value in iframe file :

      document.getElementById("youfiled").value="";
    

    And use the echo php $_GET['seed'];

    inside of the coma element;

提交回复
热议问题