Category Jquery
1 2 3 4 5 6 7 |
<input type="file" onchange="abc(this)"> <script> function abc(element){ $(element).hide(); } // input box will hide </script> |
1 2 3 4 5 |
$(document).ready(function() { $('.carousel').mouseover(function(){ $(this).carousel('next'); }); }); |
HTML
1 2 3 4 5 6 7 |
<div class="col-md-12 col-sm-12"> <div class="form-group"> <label>Upload Image</label> <input name="image" type="file" id="fileName" accept=".jpg,.jpeg,.png,.webp" onchange="validateFileType()"> <div class="gallery"></div> </div> </div> |
JS
1 2 3 4 |
$( "#tagID" ).click(function(e) { e.preventDefault(); return false; }); |
1 2 3 |
$(".action").unbind().click(function() { //Stuff }); |