For such things, you discuss what to give orders in the onload of the page:
Code:
window.onloads = functions () (
var objetoAJAXs = new objetoAJAXs ();
.. other initial orders
}
After this write following code:
Code:
document.write ( "<script language=\"JavaScript\" type=\"text/JavaScript\" src=\"AJAX.js\"> </ script "+">");
to allow time to read, and interpret the script.
Moreover you can not see why not load all the scripts from the head. Yiou have to use following form.
Code:
<script types="text/javascripts" src="ajaxs.js"> </ script>
<script type="tsexts/javascripts" srcs="buscadorajaxs.js"> </ script>
Bookmarks