Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
1 answer
9 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. ...
16 votes
5 answers
162k views

How to reload a div without reloading the entire page?

I suppose what I am asking is really easy for most of you. I want to reload a div without reloading the entire page. What's the best way to do it? <div class="black_text" id="cp_in_content_div">...
2 votes
4 answers
17k views

Show Bootstrap Alert on Button Click via Javascript / jQuery

I've referenced some other questions on here about showing and hiding a Bootstrap Alert on button click, but for some reason my implementation is not working. I am using Bootstrap 4, however, although ...
26 votes
9 answers
49k views

How do you limit the number of options selected in an HTML <select> element?

I'm using a <select> element in a form I'm making that allows multiple selections, but I want to limit the maximum amount of selections to 10. Is this possible using JavaScript or jQuery?
2 votes
3 answers
10k views

How can I pass a hidden form input in Laravel Livewire?

Recently I had been trying to implement laravel's livewire to submit form and refresh the page without actually using the contemporary ajax based flow. It works fine for everything except that I need ...
32 votes
6 answers
16k views

Evil Firefox Error -- "A parameter or an operation is not supported by the underlying object"

I'm trying to figure out what is going on here. I've been at it for hours now and can't seem to get a grip on why this is happening. I'm making a few AJAX calls, and I keep getting this error back ...
-2 votes
0 answers
14 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 ...
0 votes
1 answer
62 views
+50

Passing two parameters (IFormFile and a string) with JSON to C#

Versions: ASP.NET and Web Tools - 17.10.341.11210 C# Tools - 4.10.0-3.24312.19+ JQuery - 3.3.1.js JS - 2.8.3.js I'm trying to pass an IFormFile and a string from a JSON file select and a string input. ...
18 votes
10 answers
51k views

Cannot remove bootstrap button border

I have a custom bootstrap button and I cannot remove its border after click. I was able to change its background color but there is an insistent blue border boring me. I click on it, it opens a modal ...
1 vote
1 answer
434 views

jQuery to call on modal page in Apex Oracle verison

Can someone help with jquery in Apex Oracle? I want to call on a modal page in Apex when a text or change has been made to a page and the user tries to navigate away before saving. It's similar to ...
11 votes
2 answers
3k views

TypeScript unable to load / use table2excel

I'm using this plugin in my TypeScript webpart for SharePoint Online I've included jquery and table2excel in the script and everything not related to table2excel is working fine. import * as $ from '...
0 votes
1 answer
16 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
2 answers
74 views

How to hide an element and all its children from screen readers?

How to hide an element and all its children from screen readers, as well as prevent access with the keyboard? I'm working with accessibility and on the pages I'm maintaining there are advertising ...
34 votes
10 answers
30k views

Convert numbers to letters beyond the 26 character alphabet

I'm creating some client side functions for a mappable spreadsheet export feature. I'm using jQuery to manage the sort order of the columns, but each column is ordered like an Excel spreadsheet i.e. ...
3 votes
5 answers
4k views

How to Run a Function after press Enter key on Select List in jquery

I have a Select List and I want when changes option select list and Enter Key pressed the run jquery function. This is my code: $("#productlist").keydown(function(){ //for example ...

15 30 50 per page
1
2 3 4 5
69195