All Questions
Tagged with jquery javascript
587,705
questions
0
votes
0
answers
22
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
1
answer
11
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.
...
-1
votes
0
answers
30
views
How to display and save the page data in SVG
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
31
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
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
0
answers
19
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 (...
0
votes
1
answer
26
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} ...
0
votes
0
answers
16
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 ...
0
votes
1
answer
41
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 ...
0
votes
0
answers
15
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.
...
0
votes
2
answers
26
views
How to create an input field with a Javascript 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 (...
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 ...
-1
votes
1
answer
38
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 ...
2
votes
1
answer
65
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 ...
0
votes
0
answers
81
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 ...