the following code (based on code from https://www.w3schools.com) works all right on computers: users click a row in a listbox, and its related image shows up.
But on iPads and similar touchscreen devices, when users tap a row in the box, nothing happens.
So, in the snippet below, beside “onclick” I added also “onthouchstart”, but pictures still do not show up.
On the other end, tapping buttons (see button class=“btnArrow” onclick, below) works OK.
Googling around I got a tip about using event.stopPropagation();
so I added it to the script below, but to no avail.
Any suggestion how to solve the problem?
Any recommendation appreciated. Thank you.