<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.4.2.js'></script>
<script type='text/javascript'>
$(window).load(function(){
$(document).ready(function(){
$('input').each(function (index, element) {
$(element).click(function (event) {
if (!event.shiftKey && !event.ctrlKey) {
console.log("test");
}
else {
console.log("blah");
}
});
});
});
});
</script>
</head>
<body>
<input type="button" value="test">
</body>
</html>