After selecting from a dropdown list I want multiple textboxes / labels to change.
I have a SQL database which basically has an article number and multiple information which are linked to it, weight, price, and so on.
I've created a dropdown list in PHP. I want to get this list filled with the article numbers (not the problem), and the labels next to the dropdown have to show the linked information of the selected article.
I already tried the onChange-function but it only allows me to display one information. https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onchange
// okay update, after some more research I found out, that it is indeed possible to have multiple values assigned to a dropdown option. It is necessary to split the values again afterwards with php https://stackoverflow.com/a/16229998/2524404 but I need this to happen on change.