transfer a Variable from php to js

前端 未结 3 1674
野的像风
野的像风 2020-12-22 07:32

I got really confused when i tried to transfer variables from php to js. everything is fine when i try to get value using an id
for example:

var name = $         


        
3条回答
  •  自闭症患者
    2020-12-22 08:09

    what the code does is:

    
    
    //then these are printed on the page normally
    
    

    and then the browser receives:

    
    

提交回复
热议问题