<script> $('#home').submit(function () { window.location = this.action return false } </script> <form id="home" action="/" method="GET"> <ul class="nav masthead-nav"> <li><button>home</button></li> <li class="mydot"><a>.</a></li> <li><button>home</button></li> <li class="mydot"><a>.</a></li> <li><button>home</button></li> <li class="mydot"><a>.</a></li> <li><button>home</button></li> <li class="mydot"><a>.</a></li> <li><button>home</button></li> <li class="mydot"><a>.</a></li> <li><button>home</button></li> <li class="mydot"><a>.</a></li> <li><button>home</button></li> </ul> </form>