Method for realizing dynamic dialog box based on Bootstrap
A dialog box and object technology, applied in the field of Bootstrap, can solve the problems of pop-up conflicts in web dialog boxes, cannot be reused, and cannot directly submit forms, etc., to achieve the effect of solving pop-up conflicts
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] Such as figure 1 Shown, the present invention adopts following steps:
[0022] Step 1. Introduce the required scripts and styles into the project and create script tool classes. The main scripts and styles include jquery.js and jquery.css, bootstrap.js and boostrap.css;
[0023] Step 2: Create a dialog calling method. The required parameters include the Url of the submitted form, the title of the pop-up window, and the callback function. Others can be expanded by yourself; for example:
[0024] function msgDialog(submitUrl, title, handleFun, ...) {}
[0025] 3. Obtain the current object in the method body, define the hierarchical index and initialize it; for example:
[0026] function msgDialog(submitUrl, title, handleFun, ...) {
[0027] var $this = $(this);
[0028] var dialog_zindex = 999;
[0029]}
[0030] 4. Determine whether the modeId exists in the object, if it exists, obtain it according to the object; if it does not exist, create and generate it accordin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com