Here is the url:
... / search? type = APARTMENT% 2FAPTO + DUPLEX & area_de = area_at = & value_of = & value = neighborhood & neighborhood = Auxiliary & neighborhoods% 5B% 5D = AUXILIATOR & code = & send = Buscar
& ord = & fespecial = & page = 1 & fespecial = novopronto & fespecial = novopronto
I would like to remove everything that comes after Buscar
to perform a new query with jQuery.
$("#fe2").click(function(){
var url = window.location.href;
...