Problems with jQuery calls

    $(function () {
        alert("hello");
    })
    
    
Mar.02,2021

document


when the DOM is loaded, execute the functions in it. That is, after the page is loaded


that's what he means
$(document). Ready (function () {

    alert('hello');
})
Menu