I want my child elements of body tag to be used when document is fully loaded. like I have
<body> Country: <br> <div> <datalist id="country"></datalist> <input type="text" list="country" id="search" onmouseover = 'populate("country")'/> </div> </body> In the input element, i am using onmouseover event to call javascript function. But I want that thing to be enabled when all element are fully loaded.
Up till now, I have seen online that there is an onload event that can be used in body tag to call any particular function. But I don't want to call any function on onload event, just want to make sure that onmouseover event of input element should fired when body is fully loaded.