Every line of 'jquery clear textbox' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
76 function clear_search_box() 77 { 78 if(search_box_can_clear()) { 79 $("#query-box").val(''); 80 } 81 }
80 function clearText() 81 { 82 if ($('#oos_customer_email').val() == mailalerts_placeholder) 83 $('#oos_customer_email').val(''); 84 }
53 clear() { 54 $('#search-input').val(''); 55 $('#search-icon').css("display", "block"); 56 $('#search-spinner').css("display", "none"); 57 this._showSearchIcon(); 58 }
617 function wpv_search_clear(el) { 618 var parent = el.parentNode.parentNode; 619 var searchbox = jQuery(parent).find('.search_field'); 620 searchbox.val(''); 621 wpv_on_search_filter(searchbox[0]); 622 }
52 function clearInput( frm ) { 53 $( frm ).val( "" ); 54 }
12 "use strict";function clearBoxes(){$("#crop_x").val(""),$("#crop_y").val(""),$("#crop_width").val(EE.filemanager.image_width),$("#crop_height").val(EE.filemanager.image_height),$("#resize_width").val(EE.filemanager.image_width),$("#resize_height").val(EE.filemanager.image_height)}var crop=null,edit_mode=!1,cropCoords,do_crop,crop_coords_array,$image=$("#file_manager_edit_file img"),oversized_class="oversized";cropCoords=function(e){$("#crop_x").val(Math.floor(e.x)),$("#crop_y").val(Math.floor(e.y)),$("#crop_width").val(Math.floor(e.w)),$("#crop_height").val(Math.floor(e.h))},$(document).ready(function(){$("#cancel_crop").click(function(){return void 0!==crop&&null!==crop&&(crop.destroy(),crop=null),cropCoords({h:EE.filemanager.image_height,w:EE.filemanager.image_width,x:"",y:""}),$("#toggle_crop").show(),$("#cancel_crop").hide(),!1}),$("#toggle_crop").click(function(){return void 0===crop_coords_array&&(crop_coords_array=[50,50,100,100]),$("#toggle_crop").hide(),$("#cancel_crop").show(),crop=$.Jcrop("#file_manager_edit_file img",{setSelect:crop_coords_array,onChange:cropCoords,onSelect:function(){edit_mode=!0}}),!1}),$(".crop_dim").keyup(function(){$("#toggle_crop").hide(),$("#cancel_crop").show()}),$("form#image_resize_form").resize_scale({submit_resize:"#submit_resize",cancel_resize:"#cancel_resize",default_height:EE.filemanager.image_height,default_width:EE.filemanager.image_width,resize_confirm:EE.filemanager.resize_over_confirmation})});
43 clearInput() { 44 this.setState({value: ''}); 45 this.onChangeText(''); 46 }
7 function clearForm() 8 { 9 $(':input').not(':button, :submit, :reset, :hidden, :checkbox, :radio').val(''); 10 $(':checkbox, :radio').prop('checked', false); 11 $('#search-text').focus(); 12 }
64 private _handleClearInputButtonClick() { 65 if (this.value) { 66 this.dispatchEvent( 67 new CustomEvent((this.constructor as typeof BXSearch).eventAfterInput, { 68 bubbles: true, 69 composed: true, 70 cancelable: false, 71 detail: { 72 value: '', 73 }, 74 }) 75 ); 76 this.value = ''; 77 } 78 }
230 clear (target) { 231 this.setText('', target); 232 }