How to achieve three-level linkage
为梦兼程
为梦兼程 2019-05-16 16:11:41
0
3
1154

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.pngCan anyone help me

为梦兼程
为梦兼程

reply all (3)
月

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.

    付永红

    m.sbmmt.com has such a video tutorial

      你特别好

      Baidu

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!