I have to go through some diamonds with a lot of diffrent parameters on a daily basis. I have to use this website.
I want to automate some steps in this process, using Javascript. For that I have to change the values in the filter of the website via JS.
I tried this with (the price filter as example):
var x = document.getElementsByName("price-max-input")[0]
x.value = "4,500"
This changes the value in the price input field, but the filter doesn't apply the value. So the results don't change. I also tried a few things by using .focus() but this also didn't work.
I hope someone of you have has an answer to this. Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire