What is Bootstrap?
Bootstrap is a front-end framework for the rapid development of web applications and websites. Bootstrap is based on HTML, CSS, and JAVASCRIPT.
history
Bootstrap was developed by Twitter's Mark Otto and Jacob Thornton. Bootstrap is an open source product released on GitHub in August 2011.
Contents of the Bootstrap package
Basic structure: Bootstrap provides a basic structure with a grid system, link style, and background. This will be explained in detail in the Bootstrap Basic Structure section.
CSS: Bootstrap comes with the following features: global CSS settings, definition of basic HTML element styles, extensible class, and an advanced grid system. This will be explained in detail in the Bootstrap CSS section.
Components: Bootstrap contains more than a dozen reusable components for creating images, drop-down menus, navigation, warning boxes, pop-up boxes, and more. This will be explained in detail in the Layout Components section.
JavaScript Plugin: Bootstrap contains more than a dozen custom jQuery plugins. You can include all the plugins directly or one by one. This will be explained in detail in the Bootstrap plug-in section.
Customization: You can customize Bootstrap components, LESS variables, and jQuery plug-ins to get your own version.
In projects, we often see provincial, municipal and county choices. In fact, there are many ways to implement them. The following editor will introduce to you the support of bootstrap cascade pull-down in the smart form of bootstrap . The specific introduction is as follows:
1. When selecting the first level, you can load or use the corresponding data source of the first level from the local object to display it into the list, and the second level and so on
2. There are also loading all items into select, and then displaying or hiding items that are not related to the previous level through association.
I feel that the second type is simpler, so I used the second method to achieve it, and the rest are not nonsense.
The code is as follows (page address: https://github.com/xiexingen/Bootstrap-SmartForm/blob/master/demo/form3-ele-cascade.html):
Screenshot of local running:
The above is the full description of the support of the BootStrap smart form practical series (11) cascading pull-down that the editor introduced to you. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to Wulin.com website!