⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.112
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
eplangoweb
/
.trash
/
assets.1
/
front
/
user
/
js
/
View File Name :
vcard-service.js
(function ($) { "use strict"; function toggleDetails(val, shortDetailsId, extLinkId) { if (val == 1) { $("#" + shortDetailsId).hide(); $("#" + extLinkId).show(); } else { $("#" + extLinkId).hide(); $("#" + shortDetailsId).show(); } } $(document).ready(function() { $(".editbtn").on('click', function() { setTimeout(() => { let $elstatus = $('#ajaxEditForm .elstatus:checked'); let val = $elstatus.val(); let shortDetailsId = $elstatus.data('short_details_id'); let extLinkId = $elstatus.data('ext_link_id'); toggleDetails(val, shortDetailsId, extLinkId); }, 300); }); $(".elstatus").on('change', function() { let val = $(this).val(); let shortDetailsId = $(this).data('short_details_id'); let extLinkId = $(this).data('ext_link_id'); toggleDetails(val, shortDetailsId, extLinkId); }); }); })(jQuery);