search

Home  >  Q&A  >  body text

php - I want to use AJAX to make a second-level linkage. I would like to ask the experts if there are any mistakes in my code.

ajax:code][2]

html code:

Controller code:< /span>

Page effect:

PHP中文网PHP中文网2788 days ago379

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 13:05:09

    Assign variables in the screenshot. I don’t know how think PHP handles it. Let’s write it like this

    var _url = "<?=U:(Form.form)?>"

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-16 13:05:09

    U:(form/form) 要用 <?php ?> Wrap it up.
    You can use F12 to see the ajax request details

    reply
    0
  • Cancelreply