Skip to content

Two Drop Down Menus

I wish I could use jQuery, but this has to in JavaScript. I’d appreciate the help. When “empty” (first drop down menu) is selected, I need all values from the second drop down menu (a, b, c). When “1” is selected, I need just a, b. When “2” is selected, I need just b,…

Assign link to HTML button on GAS

UPDATE: Thank you everyone for your help, especially ale13. I have updated the question with the final code that worked for me. I am trying to create a HTML button that pops up within my Google Sheets and on click it should trigger the download of the sheet. I created the button and everything else runs perfe…

( ) => in addEventListener wont be executed

I’m pretty new to JavaScript and I struggle extending existing code of my coworker. What I try to achieve: Get all images with id = yt add an EventListener to all Call method to replace the image depending on the event error target I already implemented to logic, an this code works: But I would like to …

Replace space with new line in vue js

I am trying to replace the spaces between the name to new line in vuejs but I am not able to achieve it. Please help me find where I going wrong. Right now the names are showing as but I want it to display as Below is the code. Answer You could do this entirely in CSS with word-spacing set

How to recreate the += operator without using it

uh hi guys so im having a problem that i don’t know how to avoid i’m making a dictionary and i know the cause of the problem but don’t really know how to fix it javascript: html: basically whats happening is since im using the += operator whenever the function activates it runs the for loop …