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

All Questions

Tagged with
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(...
PartTimeNerd's user avatar
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. ...
m2dev's user avatar
  • 11
-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;...
user26500471's user avatar
-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 ...
Vikash's user avatar
  • 1
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 ...
Anmol Virk's user avatar
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 (...
BT643's user avatar
  • 3,695
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} ...
user1210140's user avatar
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 ...
Pythonista's user avatar
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 ...
Lidiia's user avatar
  • 1
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. ...
G S's user avatar
  • 1
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 (...
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
-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 ...
secarica's user avatar
  • 619
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 ...
Shadow of death 's user avatar
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 ...
Dmitry's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
39181