May I ask jquery how to implement a dialog box with a checkbox?

the specific requirements are as follows: there is an "add" button on the page, and clicking will bring up the selection dialog box. After selecting the type of field to add in the selection dialog box, a corresponding type of form element will be added to the page.
in the selection dialog box, you can select one of the "text" and "date" field types, click the "submit" button to determine the selection, and click the "close" button to close the dialog box.

Mar.29,2021

look at official document , which gives an example, but the radio button needs to be added to the div corresponding to-sharpdialog-confirm. Confirm that the button event adds processing logic to get the results of the user's radio before closing the pop-up window.

Menu