Skip to main content

All Questions

Tagged with
0 votes
0 answers
31 views

How to get (#document (url)) in <object>

I don't know how to get (#document (url)) under <object>. I want get that URL at variable, then use . Is it possible at jQuery and console ? I try this, but I think it's not what I want. ex) <...
OMG0606's user avatar
0 votes
0 answers
90 views

How can I press Tab key and Enter key on browser using browser's console?

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
0 votes
1 answer
30 views

jQuery is not return output in console

I was building a ecom platform in Django so I wanted to make a function that whenever I click on my add to cart button the console will return the product number. That is why I wrote this jQuery at ...
Mahdin Ohi's user avatar
0 votes
2 answers
92 views

javascript not available in console

I am writing script tags from the console to my test.html file: test.html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>...
Jonas Fredriksson's user avatar
0 votes
0 answers
135 views

Get the size of a browser console

Is there a way to get the size of a browser's console using javascript? I've tried looking at window.console but don't see anything there. My need for this arises when I try to get the innerHeight of ...
gstoll's user avatar
  • 51
0 votes
0 answers
21 views

JQuery append to IMG URL, this works, but Developer Console reports 404 errors. How to stop those errors?

The images are from a markdown template and the SRC once parsed is just the filename only, no complete URL. I append the URL with the JQuery below, and the image is loaded as expected. The issue isn't ...
Les's user avatar
  • 31
0 votes
1 answer
717 views

Wordpress error - Uncaught TypeError: e.dispatchEvent is not a function

I am getting this error in the console: /wp-includes/js/jquery/jquery.min.js?ver=3.6.1 TypeError: e.dispatchEvent is not a function at Events.dispatch (/wp-content/plugins/elementor/assets/js/...
ILG's user avatar
  • 49
2 votes
1 answer
2k views

Unchecked runtime.lastError: The message port closed before a response was received. in WordPress

I got the message that says: "Unchecked runtime.lastError: The message port closed before a response was received." in WordPress console. Is this affect the website performance or anything ...
JShobbyist's user avatar
1 vote
1 answer
59 views

Unexpected token ')', rogue parantheses no where to be found

I have a simple script that dynamically generates buttons. Clicking on a button generates an error message in the console: "Uncaught SyntaxError: Unexpected token ')' (at (index):1:8)". Why ...
DennisM's user avatar
  • 537
-1 votes
1 answer
88 views

How to trigger consistent events in single browser console in one time?

For example I would like to control multiple”online”webpages ,such as google.com ,with only a sequence of consistent codes on browser console(ctrl+shift+j in windows system)for consistent action "...
Alice100's user avatar
0 votes
0 answers
124 views

How I can calculate the sum of two numbers loaded from another page in jquery?

I want to use jquery and ajax to calculate the sum of 2 numbers for exemple, but every time I try from code, the part of the code that should calculate the numbers doesn't work, but it works in ...
VladZ's user avatar
  • 11
-1 votes
1 answer
27 views

hide div have same class

I have an HTML code like this $(".data-currency="XRP").hide() <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <button class="btn-balance ...
Om Kador's user avatar
1 vote
0 answers
377 views

JavaScript code not working in HTML page but it works in Console

I am trying to add JavaScript code to show and hide some content with JQuery to my HTML page. When I add it in HTML code or in javaScript file with .js or in head or footer block the code is added and ...
Bilawal Zafar's user avatar
0 votes
2 answers
112 views

How to Replace ajax to glob in getting images from directory

I have html page that displays an image from a directory. The script counts all images currently in directory and display the latest, left and right button will navigate next or previous image from ...
JCprog's user avatar
  • 85
0 votes
1 answer
58 views

want to use functions within ready jQuery method

I have a similar question before, my question was about how to access all the JavaScript functions in the web browser console even if they were within window.onload = function() {// code and functions}...
Kh4lid MD's user avatar
  • 135

15 30 50 per page
1
2 3 4 5
18