<script type="text/javascript" src="jquery.js"></script>
<body>
<input type="button" id="test" name="test" value="test"/>
</body>
<script type="text/javascript" language="javascript">
$("#test").click( function(){
alert("welcome");
});
</script>