Appoint an executive who will be accountable for the overall success of the program.
Component
Regulation
Vendors
1. Establish Accountability for AI
EU AI Act
We use cookies to ensure we give you the best experience on our website. If you continue to use this site, we will assume you consent to our privacy policy.
document.addEventListener('DOMContentLoaded', function() {
document.querySelectorAll('.component-text').forEach(function(element) {
element.addEventListener('click', function(event) {
// Prevent the default action to avoid navigating away
event.preventDefault();
// Get the data-id attribute value
var componentId = this.getAttribute('data-id');
console.log('component-id'+componentId);
// Call the function to fetch data and open the popup
fetchDataAndOpenPopup(componentId);
});
});
});
function fetchDataAndOpenPopup($componentId) {
jQuery.ajax({
url: ajaxurl, // This is a global variable set by WordPress
type: 'POST',
data: {
action: 'fetch_component_data', // Action hook name
component_id: $componentId // Pass the component ID
},
success: function(response) {
// Assuming the response contains the data in JSON format
var componentData = JSON.parse(response);
// Open the popup and populate it with the fetched data
openPopup(componentData);
}
});
}