If I want to activate a piece of code on click I would put the code in the head like this:
<script type="text/javascript">
function myFeed() {
...code...
}
</script>
And then call it like this:
<button onclick="myFeed();"> click </button>
But now Im facing a problem using FeedBurner. All I have is this:
<script src="http://feeds.feedburner.com/nu/gbKB?format=sigpro" type="text/javascript" ></script>
How can I assign a function to it like I did in the first example and call it in the body??
Starting from Liam's answer, just some details:
function myFeed()
{
document.write('<script src="http://feeds.feedburner.com/nu/gbKB?format=sigpro" type="text/javascript" ></script>');
}