The code snippet above by "The Fool" works great on every browser that I tested on Windows 11. On an iPad with Safari it does not work. If I run the Chrome browser on the iPad the code works great. Safari always seems to be a problem with any code I write. I think my official position will be that Safari is not supported!