Questions tagged [jquery]
jQuery is a JavaScript library. jQuery is a popular cross-browser JavaScript library that facilitates Document Object Model (DOM) traversal, event handling, animations, and AJAX interactions by minimizing the discrepancies across browsers. A question tagged jQuery should be related to jQuery, so jQuery should be used by the code in question, and at least jQuery usage-related elements must be in the question. Consider also adding the JavaScript tag.
jquery
1,034,455
questions
0
votes
1
answer
26
views
Removing an attribute on keydown jQuery
Got an accordion and I'm trying to add an accessibility feature for screen reader users only whereby if a user's cursor is inside the component and they press the down arrow key, it removes the "...
-1
votes
0
answers
14
views
Django Invalid JSON Response Syntax Error, possible jquery error
So I'll preface this question by stating I think the error could be in a few places though the most likely, especially according to the windows command prompt is SyntaxError: Invalid syntax on this ...
0
votes
0
answers
34
views
Iterate over HTML Table with column and row [closed]
I am looking for some insight to understand the easiest and best approach to iterate over an HTML table to update values.
My table will be time interval/Hours on the row level with different device ...
0
votes
1
answer
22
views
Edit checkbox the last deactivates the others
I'm editing a form that unfortunately comes out of the plugin like this and I can't edit html. I would like the last checkbox to deselect the other two fields if clicked. In my example it works ...
0
votes
0
answers
22
views
How to append a row to Google Sheets API? It's not working with Jquery: code 403 Unregistered callers
Here's the request URL format I am using currently:
https://sheets.googleapis.com/v4/spreadsheets/${SHEET_ID}/values/Reserved!B2:D7:append?valueInputOption=RAW&key=${API_KEY}
Here is my demo code:...
0
votes
0
answers
20
views
Wordpress Select2 Ajax query call data from DB
I'm a beginner coding with JQuery Select2 and Ajax.
I'm trying to load dataset from DB into JQuery Select2 dropdown with search option.
This is the function for DB query and enqueue scripts in my ...
0
votes
1
answer
24
views
Mystery issue with switching classes jQuery
Got a nice little accordion going here which uses headings to expand and collapse content below. Everything works the way I want it to, except for one thing: when you expand a section by clicking on ...
0
votes
0
answers
11
views
Target only top level headings jQuery [duplicate]
OK, I have some code that looks like this, and I want to target only the headings which are inside a container, but not inside another container inside of it (if that makes sense). Currently it ...
0
votes
1
answer
27
views
Zoom pdf.js on mobile view browser
I created a pdf display on the web with pdf.js and it worked normally, the pdf appeared and I could click next and previous, but when the mobile pdf display became small, I couldn't change the ...
0
votes
1
answer
20
views
Using jquery-editable-select in a Django App
This is my very first Django app so please don't be too harsh :-)
I'm trying to use jquery-editable-select in my Django web App but I'm lost.
https://github.com/indrimuska/jquery-editable-select
...
1
vote
1
answer
32
views
CodeIgniter and Ajax: Dynamic Dependent Dropdown not working
I'm trying to create a Dynamic Dependent Dropdown via Ajax and CodeIgniter 4. However, I could not make it work. Can you help me figure out what's wrong? I'm trying to follow this tutorial online: ...
0
votes
1
answer
19
views
Applying an action only in the current container jQuery
Ok, so I know that given the following code, pressing the button in either div will change the background color of all divs with the class of "section" to yellow. My question is, how can I ...
0
votes
2
answers
34
views
Pagination with Dynamic Row Removal - Updating Pagination Links and Displayed Rows
I have implemented a pagination feature on a table in my HTML page. Each page should display three rows, and I have a total of eight rows in my table. Additionally, I have a button that removes rows ...
0
votes
2
answers
29
views
Getting the first element in multiple divs jQuery
Trying to apply css to the first element in multiple divs with the same class. In the example below, it works in the first div, but not the second one. What's wrong with this picture?
<script>
...
0
votes
1
answer
19
views
How can I modify all jQuery functions, which return object with DOM elements, to return additional data?
I'd like to modify all jQuery functions, which return object with DOM elements, with some additional data, so whenever I'd call jQuery functions, which return jQuery object with DOM elements, like $(...