Questions tagged [queryselectall]

14 questions
2
votes
1 answer

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: Delta copy from a database with a control table;…
1
vote
2 answers

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 =…
WeAreDoomed
  • 123
  • 8
1
vote
3 answers

Can I use code inspector in Firefox to do a Check All input type = checkbox on a website that isn't mine?

I have a question that is a little outside my realm. I'm a newbie to jquery and javascript. I run a forum on ProBoards, and when the forum runs out of its allocation for attachments (pictures the users can post) I have to manually go through the…
1
vote
1 answer

javascript - reset style for all divs by partial ID, then style specific div

I think I'm pretty close to a solution, but running into some problems. I have created a nav menu that changes element styles using javascript for onmouseover. For onmousedown, I want to reset all styles for divs that match a partial ID (inside…
1
vote
1 answer

Certain elements not allowed in DocumentFragment?

I would like to use DocumentFragment and querySelector to make and modify DocumentFragments. I am using some code from Inserting arbitrary HTML into a DocumentFragment to create the fragments from HTML strings: stringToDocumentFragment =…
mikemaccana
  • 81,787
  • 73
  • 317
  • 396
0
votes
3 answers

querySelectorAll for any div within an element

I'd expect this to pop up an alert for any div I click inside the section id playGrid, but it does nothing.
Chewie The Chorkie
  • 3,401
  • 4
  • 37
  • 77
0
votes
0 answers

How to find all child images of a ReactInstance

I'm the developer of react-to-print, a React component printing library. Currently, to ensure images exist on the page before I open the print window, I load all images on the page identified by document.querySelectorAll("img"). However, for pages…
Matthew Herbst
  • 21,357
  • 19
  • 68
  • 107
0
votes
2 answers

Loop through ALL DOM elements not working

In "demo" div I want to show getAttribute id and style of all elements (in this case two elements demone and demotwo). If I remove the loop then only the first elements id and style are displayed and everything works normally. As soon as I add the…
maja
  • 139
  • 8
0
votes
2 answers

Autofill username and password using queryselector by id

I’m trying to create some simple javascript to autofill a webpage. I’d like to modify the following for use with a specific elementid for the username ‘password_username’ and password ‘password_password’ var result = []; // Get all links from the…
Mat
  • 3
  • 1
0
votes
0 answers

Javascript active MutationObserver to work on various elements

I want to add or remove required attr when the li number changes in a ul. If there are no lis the required attr will be added, and if there are lis the required attr will be will be removed. The function works great but only for the first…
DavSev
  • 991
  • 3
  • 17
  • 33
0
votes
0 answers

jQuery autocomplete add Select All option

I am using jQuery autocomplete, and its working great. I would like to add an option "select all" to select all the result showed, Please check my code below : $( "#prd" ) .on( "keydown", function( event ) { if ( event.keyCode ===…
0
votes
3 answers

Selecting just specific part of HTML with XMLHttpRequest?

I currently download an HTML from a website and I'm using "responseText" to get the HTML code, now I only want a specific part of it. How do you select a specific part of the HTML code with XMLHttpRequest? I already research doing it using Xpath or…
Paul Santos
  • 15
  • 1
  • 5
0
votes
1 answer

Cassandra Hector - Query all super column names & all sub columns (name & value)

I have a super column family and everything works well when I query like this: private static Cluster cluster = HFactory.getOrCreateCluster("cluster1", "localhost:9160"); private static Keyspace keyspace =…
-2
votes
3 answers

querySelectorAll not working for multiple same id

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! Demo