26 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
68
views
Only getElementById works with code...getElementbyClassName and document.querySelectorAll aren't working
The following code works when I use get ElementById, but won't work when I switch to querySelectorAll, querySelector, or getElementbyClassName.
The table ID is always BlockLayoutController and then a ...
1
vote
0
answers
70
views
loop through querySelectAll nodelist (Uncaught TypeError: Cannot read properties of undefined)
I know I can use querySelector("#sub_menuid"); directly., but my plan is to have nested sub menu
and able to loop through them all later.
I'm trying to querySelectAll my ul submenu into an ...
0
votes
0
answers
40
views
Using data attributes selected via querySelectorAll and implementing a switch statement in JavaScript - How to?
I'm currently working on a JavaScript project where I've selected multiple elements using querySelectorAll based on custom data attributes. My requirement is to use a switch construct to manipulate ...
0
votes
1
answer
2k
views
AWS Redshift Select all except some columns
I've got a problem where I want to select all from a table/view except some columns. Is there any way of achieving this without creating a procedure?
-1
votes
2
answers
921
views
Why does querySelectAll return empty NodeList even though there should be three buttons?
I'm trying to add event listeners to all buttons in my program, but const buttons = document.querySelectorAll('.button'); returns an empty NodeList.
HTML:
<div id="buttons" class=&...
0
votes
0
answers
669
views
Is it possible to rerun the same querySelector once DOM elements have changed?
I have a calendar that logs the event date, title and description of an event created through an event form. This data is stored within the cell of the day it was logged (the date as an ID and event ...
0
votes
0
answers
68
views
Make my product rotate when hover with javascript
Hello I need help I want to make my product rotate when hover. The problem only the first item is rotation when hovering other elements. I tried a foreach loop but seems there is a probleme with my ...
0
votes
1
answer
3k
views
Accessing elements of querySelectorAll in vba
One of the users have helped me to know the topic of Locating HTML elements with CSS selectors : querySelector() method is much more easier than getElementsBy() https://developer.mozilla.org/en-US/...
0
votes
1
answer
32
views
I Read using QuerySelectall.. how to write in innerhtml of these read tags?
I have degrees in Celsius switched them to Fahrenheit and cannot write them back to page.. picked them up with this statement
temp = document.querySelectorAll(".mylist span");
x=[]
...
0
votes
1
answer
63
views
Make Function with querySelectAll with forEach
I want to create a javascript querySelectAll with foreach. I need to use this many times. So i want to create a function. But not working. Please help me.
<p id="o">one</p>
<p ...
0
votes
3
answers
902
views
QuerySelector null on elements that exists on local storage and visible DOM
I have a simple table, in that table, each row is added (using innerHTML) with data from local storage. Each row contains an edit button. When I querySelectAll edit buttons with the class name it ...
0
votes
1
answer
34
views
How to correctly loop querySelectorAll for hyperlink translation (JavaScript)
Hello!
Am working on an author's hyperlink translation in several languages.
Could someone help me correctly loop querySelectAll which translates some text for all elements collected by it, because it ...
1
vote
2
answers
41
views
After querySelectorAll("input") do something with only a specfic type
I am making a validation function which displays an appropriate messagge for patternMismatch.
So far it displays the messagge, but it's the same for all input types.
const inputs = document....
3
votes
1
answer
2k
views
SOQL Select all columns in Azure Data Factory (Incremental Load from Salesforce)
Azure Data Factory gives an option to load data incrementally by using an SOQL query, Example bellow:
Select COLUMN_1,...,COLUMN_N from Account Where COLUMN_X = 'VALUES_X'
There is another solution: ...
-2
votes
3
answers
847
views
querySelectorAll not working for multiple same id [duplicate]
How to fix it? It is not effecting the HTML. I want to add href from the javascript for all a tags with the same id.
Thanks!
<a id='mySrct' style='background-color:red;color:#fff;border-radius:25px;...