Home > Back-end >  JQuery judgment problem of repeated the object selected
JQuery judgment problem of repeated the object selected

Time:12-23

I have two drop-down box (by cascading a query, a starting device, a terminal device, the two can't repeat), first select a device, another can't choose the device; How to deal with? Is to choose to deal with it? Or save time to deal with?

CodePudding user response:

1, select start device, check the destination device, the starting point for equipment filter can
2, the starting point for equipment selection change event, remove the end equipment select option
3, save time, determine both the same, just return directly
  • Related