Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

I'm trying to get a select to work for the following div: <div class="control-group generic-style clearfix"> <label for="Category">Category</label> <...
BobZ's user avatar
  • 51
0 votes
0 answers
47 views

This works: parent.document.getElementById('iframeID').contentWindow.document.querySelectorAll('*[id^="elementId"]'); But this doesn't: parent.document.getElementById('iframeID')....
geeheeb's user avatar
  • 139
1 vote
1 answer
2k views

In an ASP.NET MVC app, every single page that is opened throws the same error in Edge's console: "stack": "Error: Failed to execute 'querySelector' on 'Document': ':has(*,:jqfake)' is ...
gchq's user avatar
  • 1,803
0 votes
2 answers
44 views

I need to catch some elements in a form. The elements look like this: <div id="wpforms-22603-field_17-container" class="wpforms-field wpforms-field-likert_scale" data-field-id=&...
James B.'s user avatar
  • 111
1 vote
0 answers
276 views

I have issues selecting certain elements on a specific web page, querySelector returns null unless I first go through one of the parent element. I tried chaining them together but still I eventually ...
user26722241's user avatar
-1 votes
2 answers
90 views

I want to select OKBTN let main = document.querySelector("#main"); let okBtn = document.querySelector("#ok"); function myAlert(title,msg,icon){ let card = ""; ...
Pawan Lal Rathore's user avatar
0 votes
1 answer
49 views

I am having a hard time getting the closest input to the button clicked. Everything is on the same table cell. The button is inside a span and the input is inside 3 level span? Please see for ...
joanb's user avatar
  • 349
0 votes
1 answer
52 views

Im trying to select a child div from an array with the variable x This is only a sketch to illustrate what I'm trying to do: var x= 0; trackN = document.querySelector( .track :nth-child(x)) But ...
Dr_ Buhu's user avatar
0 votes
1 answer
333 views

I am building a Tampermonkey user script. My actual script is a lot more complex but I am able to reproduce with the following example. My script needs to work on Hacker News website. For example on ...
sudoExclamationExclamation's user avatar
0 votes
0 answers
326 views

I want to press 2 buttons on the website one by one (by console code) but the click code doesn't work on one of them. So instead, I am trying to make console code that presses Tab key and Enter key ...
Robert's user avatar
  • 1
1 vote
2 answers
60 views

I am using $('label:contains('something'); to get the label that contains 'something' in it it works perfectly fine but I want to be able to handle more than one label how to do it example: HTML: <...
Amado's user avatar
  • 383
0 votes
0 answers
51 views

I am trying to get the value of the third <p> element by referring to the id of its parent (id="pickup-searchbox"), but first I'm referring to the class of the first chid (class="...
Nikolay Kholin's user avatar
0 votes
0 answers
74 views

I want to get the questions and answers from People Also Ask section of google using javascript (but inside a vb.net cefsharp browser using executequery). The section needs to be clicked to be ...
xhammer's user avatar
  • 145
0 votes
1 answer
297 views

I have been struggling with the moving up of the chat bubble overriding my theme bottom login/out web app bar for 2 days: Tryed to: modify in Wordpress the child style.css and the functions.php The ...
Avsof web apps's user avatar
0 votes
1 answer
22 views

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="style.css"> <title>...
NUman's user avatar
  • 1
0 votes
1 answer
35 views

I am trying to start an action everytime anything on the webpage else than specific object is clicked (menu "tree horizontal lines" button with class called "navbutton"), like this:...
fafa's user avatar
  • 107
-1 votes
1 answer
34 views

I am trying to write an extension that will search the webpage for a specific text element and write my const into it. Some additional context: The process flow is essentially; Pop up prompts user to ...
Michael Blach's user avatar
0 votes
1 answer
182 views

I want to create a entrance effects for element when it's on view port for different ids. I have 3 different ids #fadeAppear #slideAppear #zoomAppear with different css property. I want to call a ...
Avro_Abir's user avatar
  • 166
0 votes
1 answer
20 views

I have several inputs that I would like to offer the same jQuery Autocomplete function on. When the user selects an option, I would like to set the value of the corresponding text box to the id of the ...
redaxe's user avatar
  • 53
0 votes
1 answer
872 views

The essence of what I’m trying to do is already asked & answered here in this SO question. That question includes a fiddle and code that works in an prior release of select2 (v3.3.2), but does not ...
B4THC4T's user avatar
  • 61
1 vote
1 answer
1k views

I am attempting to write a Tampermonkey script in Chrome for a website that I use all the time at work. I want the script to remove the disabled attribute on buttons of a certain class or title. This ...
bakedmcgaked's user avatar
0 votes
1 answer
131 views

<a href="#url" data-mc-cta="1" style="display:none">Link</a> In this above a href code, a random URL will be generated by advertising network javascript ...
Mehul Kumar's user avatar
1 vote
0 answers
292 views

I am creating a page with ~50 lines where single click on a line will copy that line. And there's a tooltip for copy (on hover) & copied (on click). Using the below code, I am able to copy each ...
rTx's user avatar
  • 11
0 votes
0 answers
46 views

I've seen answers dealing with selecting elements in CSS and I'm wondering if it is possible to perform the following with one line using a wildcard in jQuery? jQuery('.youtube-video-1')[0]....
Line One's user avatar
0 votes
2 answers
79 views

I've tried append ul into a div, but all ul append separately in div's. I want just child ul into div Loops selected all ul's into all div's separetly. <li class="first"> <a>...
Tolga's user avatar
  • 48

1
2 3 4 5
181