I am trying to remove everything after the \"?\" in the browser url on document ready.
Here is what I am trying:
jQuery(document).ready(function($)
I belive the best and simplest method for this is:
var newURL = location.href.split("?")[0]; window.history.pushState('object', document.title, newURL);