<html>
<head>
$("button-1").click(function(){
<script type="text/javascript" src="jquery.js"></script>
$("input").append("test");
<script type="text/javascript">
});