JSFiddle - React, Tailwind, and code Playground

HTML

<input type="submit" id="button" value="DoThis"/>

JavaScript

$(document).ready(function(){
  $("#button").click(function() {
    //1st method, has hash that disables the use of parameter
	window.location.hash = "&item=brand";
    //2nd method, makes page refresh
    //document.location.search += '&item=brand';
 });
});