refactor(module_auth): form validation

This commit is contained in:
bobbyvish
2024-05-15 11:11:27 +05:30
parent b4bacbe35a
commit f7370a90aa
8 changed files with 55 additions and 54 deletions

View File

@@ -336,9 +336,7 @@ function viewClickEvent(dataTableInstance) {
$('body').on('click', '.view', function(){
var id =$(this).data('id');
var rowData = dataTableInstance.row($(this).closest('tr')).data();
var question = rowData.question;
var answer = rowData.answer;
console.log(question, answer)
// Set the data in the modal content
$('#questionData').text(question);
$('#answerData').text(answer);