function showPlaceBetModal() {
        jQuery.noConflict();
        jQuery(document).ready(function($) {
            // Use $() safely inside this block
            $("#exampleModal").modal("show");
        });
    }
    
function showFixtureInfoModal(index) {
    // Use jQuery in noConflict mode to avoid conflicts with other libraries
    jQuery(document).ready(function($) {
        
        console.log(index);
        // Show the modal with the specified index
        $("#playerinjury_" + index).modal("show");
        
         const element = document.querySelector("#playerinjury_" + index);
         console.log(element); // Output: Hello, World!
        
        console.log("#playerinjury_" + index);

        // Close the modal when clicking the button with the data-dismiss attribute
        $("#playerinjury_" + index).on("click", ".close, .btn-secondary", function() {
            $("#playerinjury_" + index).modal("hide"); // Hide the modal
        });
    });
}
