Home  >  Q&A  >  body text

The problem of php calling js and getting the return value of js

How does php call js and get the return value of js? Is there any more convenient plug-in or method

~6yong~~6yong~2605 days ago1806

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-09-25 12:01:58

    You can directly transplant js functions into php, usually with only minor changes.

    reply
    0
  • xunbaoba

    xunbaoba2017-09-24 22:20:24

    This process seems to be reversed

    reply
    0
  • 顾明

    顾明2017-09-24 22:05:10

    It can be called in the form of a function, and an interactive js function can be written outside the PHP code segment. Just call this function in php return function

    reply
    0
  • Cancelreply