<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.2.js'></script>
<script type='text/javascript'>
function testJQueryClick(){
$('#button2').unbind().click(function(){
console.log ('Debug');
return false;
});
}
</script>
</head>
<body>
<input type="button" id="button1" value="Button 1" onclick="testJQueryClick(); return false" />
<input type="button" id="button2" id="button2" value="Button 2" />
</body>
</html>