Home  >  Q&A  >  body text

How to achieve three-level linkage

I now need a registration system. There are two tables now, the unit table and the position table. The position code in the position table is unique. The function I need to implement is that when the unit is selected, the unit will be automatically filtered out. All the position codes corresponding to the unit, and then filter out the professional names based on the position codes

360截图1641011694120126.png Can anyone help me

为梦兼程为梦兼程1957 days ago1181

reply all(3)I'll reply

  • 月

    2019-06-05 11:00:11

    1. Every time you select, request the backend interface (ajax call) to obtain the next level data.

    2. The backend passes three interrelated arrays to the frontend. Each selection does not request the backend interface, and the frontend completes the filtering itself.

    reply
    0
  • 付永红

    付永红2019-05-18 20:27:55

    www.php.cn has such a video tutorial

    reply
    0
  • 你特别好

    你特别好2019-05-18 01:13:21

    Baidu

    reply
    1
  • Cancelreply