var minImageWidth = 800, minImageHeight = 600; Dropzone.options.graphicDropzone = { maxFilesize: 3, maxFiles: 3, addRemoveLinks: true, acceptedFiles: ".psd, .ai, .jpg, .jpeg, .gif, .png", init: function() { this.on("success", function(file, responseText) { …
$(‘:not(:contains(‘+ userString +’))’).hide(); We can also put some class before :not so it will only target the specific element. We can also use :contains keyword to check if element contain …
$("#addSkuForm").validate({ // Specify validation rules rules: { // The key name on the left side is the name attribute // of an input field. Validation rules are defined // on …
Some times we need to reload or refresh our web page for some needs. It’s quite easy and less weight to implement. You can use simply a javascript function to …