<html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<body>
<input type="text" value=0 id='a'>
<br>
<input type="button" value=15 id='b'>
<br>
<input type="button" value="" id='c'>
<script>
$(document).ready(function(){$('#c').click(function(){
a=document.getElementById('a').value;
b=document.getElementById('b').value;
if(a>b){
alert('no')
}
else{
alert('yes')
}
})})
</script>
</body>
</html>