I am having trouble reloading a page through Ajax from custom JS. There is a form which will change with your choices and this changes are made by Ajax.
How I can change the select list "Leistung" from the code so the price would be updated by Ajax?
As you all know I can't simply write $("select").click(); it doesn't work. Also I tried .trigger() and .mousedown(), actually .mousedown() would work if I use it for the submit button but I wanna change select list value and nothing works there.
What I think is I have two options: I could simulate a REAL click on the select list (which I know I can't), and the other way is to somehow tell the Ajax to reload after changing the select list value.
To be more clear: That select list is the target that I wanna change. I mean if I click on the third row of the table, that click function should change the value of the select list and here is the problem! the Ajax won't reload the price!