I have a file js in which I occupy a function of another file js. but it tells me that it is not defined, do you know how to include one file inside another?
<head>
<script src="js/funciones_genericas.js"></script>
<script src="js/mantenedor_empresa.js"></script>
</head>
error: validaRut is not defined
If I check the files that are referenced with chrome I do not see the file "servicios_genericas", and the file is in the folder