Skip to content

Tag: jquery

google.script.run problem on Google Apps Script

I am working on a Google Apps Script project, and I have made a html form that will automatically paste the user answers in a sheet. My problem is the following: I need to add elements in a drop down list with a separated form. To do this, I have made a function that will read some cells and add

Hide a parent div when filtering

I have timeline with a filter that allows users to show/hide events. The way the CSS is formatted requires that the entire parent (“.timeline”) be hidden if no matches were made in the filter, otherwise there’s a border that remains visible: JSFiddle to see example I tried including $(&#8216…

Find the element and append value in it using jQuery

I have three <li> inside the <ul> . Now the structure of the html looks like this inside each li this is the html So when I click on the chbs-button-style-2 I want to add variable value in the chbs-vehicle-content-price div by using $(this). this is I where I am stuck Answer Not sure why you are d…

Changing input button to images

I am new to JavaScript. I am having trouble changing the show button and hide button to images instead. The show button will be a different image to the hide button. How would I go about doing this? https://jsfiddle.net/ej0r4amd/2/ Answer Since you’re using jQuery, you can use the <input type=”…

Syntax error, unrecognized expression: Jquery

I want to add/remove the active class from the data-filer = variable, but this error gives: Uncaught Error: Syntax error, unrecognized expression: li[data-filter=.arroz-1] What am I doing wrong? Answer You missed some apostrophe. Try this: