is it possible to do an append without specifying a selector
so in html I have an arbitrary element and inside that I call a function that will append content inline
so html looks like this
<!-- stuff before -->
<fieldset>
<script type="text/javascript">
$(document).ready(function(){
get_content();
});
</script>
</fieldset>
<!-- stuff after -->
then in a js file that gets loaded I have the get_content() function like this
function get_content(){
$.append('<div id="some_id"></div>');
}
currently I get an error saying append is not a function