PHP: calling javascript function with parameters from php

后端 未结 4 1056
情歌与酒
情歌与酒 2021-01-03 05:36

I am trying to call JavaScript function with parameter that are PHP variables. I have tried 2 approaches.

  1. calling JavaScript function in PHP with script tag

4条回答
  •  粉色の甜心
    2021-01-03 06:05

    Call the function when the browser finished loading the javascript.

    
    

提交回复
热议问题