search su url

This commit is contained in:
kiki 2020-06-02 22:53:18 +02:00
parent 47c27186ea
commit 44d7e8763b
2 changed files with 16 additions and 2 deletions

View file

@ -128,7 +128,22 @@
function exportCsvP(){
console.log("click");
};
$(function() {
url_mercato();
});
function url_mercato() {
var url = window.location.href;
url = url.replace("http://0.0.0.0:8000/#", "")
//console.log(url);
$("#search").attr("value", url);
setTimeout(() => {
$("#search").keyup();
}, 10)
scriviQuanti();
};
</script>
</body>

View file

@ -482,6 +482,5 @@ function url_mercato() {
console.log(url);
$("#search").attr("value", url);
$("#search").keyup();
});
scriviQuanti();
}
};