were to use js preventdefault code example Example: js preventdefault function(event) { event.preventDefault(); }