How to make an anchor tag to do nothing?

How to make an anchor tag to do nothing?

HTML | Make an anchor tag to do nothing | href="javascript:void(0);" To prevent reloading page when a link clicked is something like preventing the default behavior of an element. It can be achieved by providing "javascript:void(0)"…
Input type number maxlength not working

Input type number maxlength not working

HTML | Input type number maxlength not working The maxlength attribute of an input field is used to limit the length entered in the input field. but it works only if the type of input…
Jquery Auto Focus On Next Input Field

Jquery Auto Focus On Next Input Field

Jquery | Auto Focus On Next Input Field The jquery code for autofocus on the next text input field. $(".input-key").keyup(function() { if ($(this).val().length == $(this).attr("maxlength")) { $(this).next('.input-key').focus(); } }); Let's go through the above jquery…