So im working with ajax and trying to load external javaScript and i just want to know if Im doing it right. So far what i have is this
<script>
$(document)live('pageInit, function(event){
$.getScript("9829_edge.js")
$.getScript("9829_edgeActions.js")
});
</script>
This is really my first attempt at loading script via javascript so i just want to know if I'm doing it right or not and if thats the right way to load multiple files.