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.

jquery
0 votes
0 answers
12 views

How to hide custom buttons in jqgrid ^3.4.4

I am using jqgrid 3.4.4 version, I want to hide few buttons on select row, but the problem is if I add id or title in navButtonAdd, it doesn't work. So I cannot hide them using the id/title. Is there ...
Derrick's user avatar
  • 4,187
0 votes
0 answers
11 views

when export data to pdf using itextcharp libarary it give me empty file downloaded and can't open

I work on asp.net I face issue when export grid view have more than 2000 rows it download empty file pdf without data inside . and when click on file not open and give me file not in correct format ...
ahmed salah abd elaziz elbarba's user avatar
0 votes
1 answer
28 views

JQuery - ajax sending array to Spring controller - bad request

I am using Spring 5.3.9, jackson-core and jackson-databind- 2.17.1 version. From UI, I am sending json array to the controller. I have tried multiple parameters types in the controller and none of ...
user3067524's user avatar
1 vote
2 answers
30 views

PHP HTML JS pagination

I have a page which feedbacks which looks like this (I just show 1 comment per page to see if the pagination works fine. Otherwise I'll show more): The feedbacks come from a mysql database and are ...
Andy McRae's user avatar
0 votes
1 answer
11 views

How to focus or scroll to custom checkbox hidden element?

I have a custom card checkbox. I want to focus and scroll on form submit(form is being validated using jQuery validation) to this card checkbox if it(card checkbox) is required and not checked. How to ...
TWF's user avatar
  • 35
0 votes
0 answers
13 views

Data resolution are not changing when try to minimize the resolution

In Firefox browser, when opened in normal form all data moves towards right, while it appears correctly in Chrome and Edge. Also when I tried to minimize the resolution in edge or chrome all data ...
Pam's user avatar
  • 15
0 votes
1 answer
35 views

Display an Alert When User Session Expires in Laravel

I am using the Laravel framework and would like to create an alert when the session expires. I tried implementing a JavaScript code that checks if the user is logged in every three seconds as follows: ...
Rodrigo Franco's user avatar
0 votes
0 answers
8 views

jquery-3.7.1.js:3784 jQuery.Deferred exception: Cannot read properties of undefined (reading '_fnCallbackReg')

I have a website biuld that uses jquery, Bootstrap and dataTables. The issue I have is the code generates an error: jquery-3.7.1.js:3784 jQuery.Deferred exception: Cannot read properties of undefined (...
DCJones's user avatar
  • 3,341
0 votes
0 answers
9 views

How to Close ISWebCombo Dropdown After Selecting a Value with AutoPostback Enabled?

I'm using an ISWebCombo dropdown control in my ASP.NET Web Forms application. The dropdown does not close automatically when I select a value. I need it to close after selection. <ISWebCombo:...
parangat's user avatar
-3 votes
0 answers
29 views

how can i correctly return array value to jquery [closed]

<?php include ('config/dbcon.php'); if (isset($_GET['visa-id'])) { $visa_id = $_GET['visa-id']; $query = "SELECT document, preference FROM visa_document WHERE visa-id = '$visa-id'&...
Hissan Zahir's user avatar
0 votes
0 answers
25 views

Select2 ajax based results filtering based on regex on client and server side

I have implemented select2 in codeigniter for ajax based results and its working perfectly. But the challenge I am encountering is that the data in database is not sanitized e.g E.C.G Machine ECG ...
Muhammad Asif Raza's user avatar
0 votes
0 answers
17 views

Image as background of data labels i.e as background color in chart.js [closed]

Is there any way to add image as background color i.e different image for background of each data label. If there is please let me know. I tried doing it by putting images in an array and equating it ...
dawood zulfiqar's user avatar
-1 votes
0 answers
17 views

Limit User from closing pop-up till it loads completely

I am trying to trigger some operations on page unload. My page contains a form with a submit button. On submitting the form it reloads the page (Basically a postback) and there are some operations ...
DIVIJ 's user avatar
  • 81
0 votes
2 answers
19 views

Kendo .showTooltip() for donut chart with multiple series

I am working with a jquery kendo chart configured as a donut that contains two series. I need to be able to programmatically highlight a section and show its tooltip in the second series, simulating ...
Anna Kegley's user avatar
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", ...
Tate_87's user avatar
  • 149
-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(){...
userV's user avatar
  • 1
0 votes
0 answers
15 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 ...
Ezekiel Angelo Castulo's user avatar
-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, ...
Dogukan Ünlü's user avatar
-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 ...
user26514927's user avatar
-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**). ...
Bron's user avatar
  • 1
0 votes
0 answers
9 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')}}</...
GaoJin's user avatar
  • 9
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(...
PartTimeNerd's user avatar
0 votes
2 answers
33 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. ...
m2dev's user avatar
  • 11
-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 ...
Dhakii's user avatar
  • 1
-1 votes
0 answers
44 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;...
user26500471's user avatar
-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 ...
Vikash's user avatar
  • 1
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 ...
Anmol Virk's user avatar
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 (...
BT643's user avatar
  • 3,695
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 ...
Adeeb Hassi's user avatar
0 votes
0 answers
27 views

<Svelte> making image-map in mobile

I'm trying to make image-mapping in svelte. Actually, this is working in PC but not in mobile. So, I wanted to import rwdImageMaps and this is controlled by jQuery. Because of this, I installed jQuery,...
GraceJoo's user avatar
0 votes
1 answer
32 views

jquery validate make one field required if another field is not empty

I'm having some issues with jQuery.validate 1.11 , with .Net 4.8 and MVC 5 with Razor. I have these two properties in my class: [StringLength(500, ErrorMessage = "{0} can have a max of {1} ...
user1210140's user avatar
0 votes
0 answers
20 views

Buttons not working in data table | Tailwick | Flask | Jquery

I am using the datatable from the tailwick library (https://themesdesign.in/tailwick/html/tables-datatable.html). But the problem is that the buttons on the 2nd page aren't working at all. I have gone ...
Pythonista's user avatar
0 votes
1 answer
42 views

form serialize is not working after ajax request

I have a modal window that is populated using an AJAX request, and it successfully fills all the fields as expected. The issue is not with the AJAX request itself, as it correctly retrieves the data ...
Lidiia's user avatar
  • 1
0 votes
0 answers
16 views

Summernote filtering out page tags for DOCTYPE head and body

i'm trying to get summernote to display a full webpage in the editor (technically it is an email template), but it keeps clearing out the <!DOCTYPE> and tags which is breaking the page. ...
G S's user avatar
  • 1
0 votes
1 answer
21 views

Add Text to span complex field by Jquery

I want onclick event on <input> tag to display custom error in <span> placed tag just below it I have many input readonly fields like, <input class="form-control valid" id=&...
Samie Ullah's user avatar
0 votes
2 answers
29 views

How to create an input field with a predefined format where users can only type in specific parts of the field

I have a basic HTML input field (for phone numbers), that currently lets the user type and submit whatever they want inside: 923-98-Ilovekittens :3 However, I want the field to look like this: +1 (...
Tony Moritz's user avatar
0 votes
0 answers
16 views

Lexical scope issues when assigning event methods [duplicate]

I would like to create a Javascript class that provides various methods for storing and manipulating data (ex.: a simple counter). When constructed, the class would also create DOM elements that ...
Andrew Plowright's user avatar
0 votes
1 answer
33 views

Quill 2.0 Localization

I am using the new Quill 2.x WYSIWYG editor. I would like to implement localization. How to approach this? I find nothing detailed in the Knowledge Base. BTW: <link href="https://cdn.jsdelivr....
Simon Giesen's user avatar
-1 votes
1 answer
39 views

How to get exactly the same div elements order in my jQuery converted code from a working mootools code?

I am trying to convert a working mootools code into jQuery equivalent. Code is for a sticky sliding menu on top of web page and the conversion is needed just because the same code is to be used in a ...
secarica's user avatar
  • 619
0 votes
1 answer
41 views

I want to make only border top and border bottom to a doughnut chartjs

Problems : I have the border left who add an triangle border left and right And i have the natif problem of responsive legend size, i want to add css on segment but not on legend of this segment. ** ...
amrane97's user avatar
2 votes
1 answer
68 views

How to write text in the clipboard in BOLD format using Javascript?

javascript:(() => { navigator.clipboard.writeText("From : \n Info : \n Resp : "); })(); I am trying to write predefined data in the clipboard directly in bold format whenever I ...
Shadow of death 's user avatar
0 votes
0 answers
82 views

How can I set parameters inside clouser

I have a function that gets a parameter callId I checked here and in the first log I get the result "Initializing calendar with ID: 1" But for the second log I can't get the ID "Select ...
Dmitry's user avatar
  • 15
0 votes
0 answers
55 views

Refilling a form with saved user selection

In my application I have a form that initially has default values. The user can choose other selections in the form. The user can also save the selections into localStorage by clicking the Save ...
Youssef Ismail's user avatar
0 votes
0 answers
33 views

JQuery - How to append to element during each iteration of a loop

This is a question that seems to have been asked a number of times here by different people using a number of different coding languages, but no one seems to have come up with a clear definitive ...
Graphic Detail's user avatar
-5 votes
1 answer
41 views

Convert jQuery to Javascript Read more, read less

I need help with my jQuery code. I was able to make it work for the read more and read less script, but I am unable to make it work on javascript code or vanilla js code. I hope you can help me with ...
Jamez C's user avatar
0 votes
0 answers
9 views

Setting On in dropdown semantic ui don´t work

I'm trying in my dropdown, which already works, allowing it to only perform the search when the "Search" button is clicked. I saw in the semantic Ui documentation that there is an "On&...
Matheus Carvalho's user avatar
-1 votes
0 answers
16 views

Amsify Suggestags Doesn't work on modal bootstrap

I use the amsify suggestags plugin to provide more than 1 option, but when amsify is used in the bootstrap v 5.3 modal the amsify list is not visible and looks like it is under the modal I want to be ...
Jcmarsell's user avatar
0 votes
0 answers
11 views

Popup Closes on Next Month Click and Repositions Incorrectly in JSP

enter image description here I'm encountering an issue with a datepicker in my JSP application. When I click to navigate to the next month, the main datepicker popup closes unexpectedly. On the second ...
Josmi Joseph's user avatar
0 votes
0 answers
20 views

jQuery UI datepicker month select box opens and closes immediately inside Bootstrap 5.3.3 modal for firefox browser

I've encountered a conflict between Bootstrap's modal and jQuery UI datepicker in firefox browser where I can't use the month select box because something closes it immediately after being open. Steps ...
Irfan khan's user avatar
0 votes
0 answers
23 views

How to restrict past time selection in jquery-clockpicker.min.js

When I am open the clockpicker at that time past time also show, so i want to disabled the past time based on current time. If my current time is 4:00 PM so inside the clock picker disabled before 4:...
Keval Maisuriya's user avatar

15 30 50 per page
1
2 3 4 5
20689