Category : javascript-events

I’ve been researching for 3 days straight about how to detect when a client closes a browser tab on chrome mobile android. I couldn’t find any working code 🙁 I’ve used Samsung Galaxy Note 10 Plus to debug through Type-C cable with Chrome PC (chrome://inspect/#devices) and i used Android Studio’s Emulator (Google Pixel), both devices ..

Read more

I want fill in a drop-down using javascript and the years between the seleted date range for example 1: if start date is 2012-01-01 and the end date id 2015-01-01 then the drop-down values are 2012,2013,2014,2015 example 2: if start date is 2021-01-01 and the end date id 2022-01-01 then the drop-down values are 2021,2022 ..

Read more