• ourecmiwealonco

Dicitencello Vuie Sheet Music Pdf







Category:Compositions by Rodolfo Falvo Category:1975 compositionsQ: How to avoid firing onclick function on button after loading? I have been trying to understand how to prevent the click on a button in javascript. My knowledge is quite limited. I am doing some user input validation that requires user to hit the enter key before submitting. Currently i am doing the following: $("#btn_next").bind('click', function() { if (!$('#txt_search').val()) return false; $.ajax({ type: "POST", url: "search_database.php", data: dataString, success: function() { //alert("Inserei o ID:" + $('#txt_search').val() + " "); $('#lbl_status').html("Inserindo Registro"); $('#txt_search').val(''); $('#btn_next').unbind('click'); } }); }); If my js is the following: $(document).ready(function() { $("#btn_next").bind('click', function() { if (!$('#txt_search').val()) return false; $.ajax({ type: "POST", url: "search_database.php", data: dataString, success: function() { //alert("Inserei o ID:" + $('#txt_search').val() + " "); $(' ac619d1d87


Related links:

1 view0 comments