I have one datatable with edit and delete button, and when I click the edit button, it shows the popup window with input fields and values to edit. But what I need is one new page with input fields and value to edit. The following code is to show the popup window.
`<span><i class='fa fa-pencil fa-2x' onclick='edit(" + value.Id + ")' data-target='#ModalForUpdate' data-toggle='modal'></i></span>`
This is the code to edit button in datatable. I am using this code in my JS file..