I have this as my function, it's currently just a test.
<button onclick=function test()>Test The Function!</button>
<script>
function test(){
return('Try Again!')
}
</script>
<html><head></head><body>
<script>
function test() {
alert("You clicked the button");
}
</script>
<button onclick="test()">Using Javascript</button>
</body></html>
Yes, I know this works in the snippet or fiddle, but it doesn't work in the html code in an about:blank page. Can anyone figure out the problem? I click the button and NOTHING happens.