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
63
questions
0
votes
0
answers
44
views
Get a specific key and value from JSON
I need something very simple. Sorry I am not familiar with jq and a top novice.
{
"pets": [
{
"name": "Purrsloud",
"species": "Cat",
...
-3
votes
1
answer
24
views
function calling in $(document).ready() vs $(document).ready(function() {})
I am using displayRows() function to add table body using document.ready. It was working fine for syntax : $(document).ready(function() as below
'$(document).ready(function() {
function displayRows(){...
0
votes
0
answers
16
views
Navbar HTML not working in sub-directories
I have this folder structure:
A
|_B
| |_C
| | |_D
I have my navbar.html, style.css, and main.js (for the navbar) in folder A.
This is the code block I use to add the navbar in my index.html, and it ...
-2
votes
0
answers
40
views
Jquery $("body") not selecting whole page [closed]
I have a page that I need to show a loading gif. The problem is when I select the whole page with $("body") to disable editing fields, the elements that are only reachable by scrolling down, ...
-2
votes
0
answers
24
views
My Mobile nav bar is not clickable with my weebly website
I know nothing when it comes to coding. However, I have successfully built a website using Weebly. This being said, when I added a store to my website, it did something to the coding itself, and now ...
-4
votes
0
answers
13
views
How to mask all the characters after the N-th in an ASP.NET textbox? [duplicate]
I'm using a TextBox in WebForms to get user input but at the same time one of my requirements dictates that all the characters after the 3rd one should be masked, thereby appearing as '*' (ex. Nor**). ...
0
votes
0
answers
12
views
How to add event listener when the bootstrap modal is shown
<button type="button" class="btn main-button btn-tableColumns add-campaign" data-toggle="modal" data-target="#add_campaign">{{__('Add New Campaign')}}</...
0
votes
1
answer
40
views
Failed to construct 'ResizeObserver': parameter 1 is not of type 'Function'
I am trying to render HTML inside textarea and I have an ajax call from the controller to read the value and parse it as var to the render() function.
I followed the question here
However, the render(...
0
votes
2
answers
34
views
Swiper slider not loading initially when Slides per view is more than 1
I'm using the swiper slider in the my website.
When I have slides per view more then 1 for example, 4 then when I load page 1 slide showing then after sometime it adjust to 5 slides in swiper slider.
...
-2
votes
0
answers
17
views
Données formData envoyées à d'autres routes laravel vide alors que les données sont present pour un route [closed]
Bonjour, j'utilise laravel 10 pour mon projet et je rencontre un problème que je n'arrive pas à comprendre.. J'utilise FormData pour mes données et les envoyé via ajax avec jquery. Les données du ...
-1
votes
0
answers
46
views
How to convert the html view into SVG tag
public class Template
{
public int TemplateId { get; set; }
public string? Name { get; set; }
public int BasePrice { get; set; }
public int BorderWidth { get; set;...
-4
votes
0
answers
35
views
JavaScript Validation regex to allow only alphabet text or alphanumeric only [duplicate]
I need Javascript validation regex to allow only alphabet text or alphanumeric only.
Example -
dGgs1s23 - valid
12fUgdf - valid
abchfe - valid
ABFGC - valid
121232 - invalid
abd()* - invalid ...
0
votes
1
answer
18
views
Using chained selector method with a cloned jQuery/cheerio element [closed]
I am using cheerio in JavaScript, which uses jQuery syntax to select DOM elements. I made a clone of a dome element like this:
var clone = $('.a').clone()
Now I want to access data of that clone ...
0
votes
1
answer
21
views
AjaxQ jQuery plugin always undefined
I'm trying to use the AjaxQ plugin with jQuery to queue some ajax requests but seems to be just undefined whatever I try.
Getting the following error:
TypeError: Cannot read properties of undefined (...
1
vote
1
answer
28
views
Not loading static(CSS,JS,BOOTATRAP) files after applying "Empty Cache and Hard Reload" [duplicate]
I am working on django website,i made some changes in jquery file and then apply "Empty Cache and Hard Reload" in browser ,but now all the static files are not reflecting in browser, before ...