$('#btn').click(function() { var input_value = $('#gfname').val(); var your_gf = 'abc'; if(input_value == your_gf) { alert('YES, Its "'+input_value+'", You are in my heart'); } else { alert('No she is not in my heart'); } }); Share Get link Facebook X Pinterest Email Other Apps Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment