Last post May 31, 2021 05:24 AM by yij sun
May 29, 2021 03:51 PM|jagjit saini|LINK
What should be changed in below code so that Modal Popup opens on click of button
"defaultContent": '<button id="btnEdit" type="submit"><i class="fa fa-pencil"></i></button>'
May 30, 2021 11:19 AM|mgebhard|LINK
The code construct depends on the modal library you are using which you have not shared.
The code you have shared contains a submit which submits an HTML form. Any opened modal will be over written by the page refresh. You did not share all the relevant code or describe how the design is intended to work so the community cannot provide accurate
In addition to reading the modal docs, I recommend learning basic HTML forms rather than posting every little problem you have.
May 31, 2021 05:24 AM|yij sun|LINK
Hi jagjit saini,
What's your meanings? I'm guessing that you have a jquery Datatable and when you click the columns in datatable, it will show modal popup.
If you need to do this,you could refer to below sample.