1,032,067 questions
0
votes
0
answers
10
views
OLA Map Web SDK With HTML, Javascript Not Showing Map
I'm trying to integrate OLA Map Web SDK In my project. I've gone through the documentation and tried everything I can but found nothing to be useful. Every time I got the following error:
Error: ...
0
votes
1
answer
38
views
live commenting system with laravel and ajax
I want to implement a live commenting system for each post of my project
this is my view
@extends('layouts.main')
@section('content')
<p>{{ $post->title }}</p> // there is nothing ...
1
vote
1
answer
44
views
On passing json stringify data to controller method shows null
I am trying to post my form data using ajax. I am serializing the form data before posting. But at the controller method, it shows null. There is no problem with the form data because I can pass data ...
0
votes
0
answers
25
views
Jvectormaps - Combining Javascript SVG maps
I'm using a Jquery library JSVectorMap (https://jvm-docs.vercel.app/docs/available-maps) to generate interactive SVG-based maps and add markers to them based on coordinates. This works great and I ...
3
votes
2
answers
43
views
Jquery dialog box inside each/for loop
I'm trying to choose what math operation do with each number of an array.
I've tried with array.each() function and now with for() and to make the selection I've tried with confirm() plugin and now ...
2
votes
1
answer
78
views
Inserting the contents of a chosen HTML document into a container using jQuery
I'm trying to put in the contents of one file into a div container on my website. For example, clicking:
<a class="aModal" href="modal1.html"> Click me!</a>
Will load ...
1
vote
0
answers
116
views
How to detect mouse over canvas
I'm using a userscript that overrides CanvasRenderingContext2D.prototype.drawImage to replace a specific image (oldimg.png) with a custom image (newimg.png) when it is rendered on a canvas. I would ...
0
votes
0
answers
21
views
Unable to properly render ModelSelect2Multiple in modal window
i have a Book model that has a authors field which is a ManyToMany field to Author model.
I'm using django-autocomplete-light package to render a select2 widget in my templates that will allow me to ...
1
vote
0
answers
99
views
cdn.datatables.net connection refused, datatable won't load [closed]
While navigating a page that include DataTable, I am getting the following errors on the browser's console:
GET https://cdn.datatables.net/1.10.22/css/jquery.dataTables.min.css
net::...
-3
votes
1
answer
59
views
Replace leading minus with trailing BCE [closed]
I'm not able to use the date module in my CMS because of the historic dates (many are before the common era), I want to use numbers (this provides me with a correct sorting of the items); so when I ...
0
votes
1
answer
108
views
jQuery DataTable not calling ajax [closed]
Have a web application I am building using Visual Studio 2022, .Net (not Core) that has a page that uses ajax to gather data for a DataTables table. Problem I am having is that the ajax endpoint ...
1
vote
1
answer
44
views
Force jquery.confirm to finish before continuing
This is a simplified version of what I am trying to do. When a user clicks a button 'ClickMe', I want to call a validation routine that if the color passed in is not blue, ask the user with a jquery....
0
votes
0
answers
42
views
How to use Theia Sticky Sidebar without Jquery [closed]
I am using the theia sticky sidebar, but this is Jquery Dependend plugin. But it also have a vanilla JS version in CDN. But not working without Jquery. How can I use it without Jquery? and will get ...
-1
votes
0
answers
59
views
Datatable ajax reload with new data [duplicate]
So I already have my main table set up upon initial load in a javascript file as such:
let table = new DataTable('#UsersTable', {
ajax: 'user_data',
rowId: 'id',
columns: [
{ data: ...
2
votes
2
answers
97
views
Choose random options from multiple select menus at the same time [duplicate]
Using Javascript select random option, I can see it's possible to have a single select element on a page, and to set up a link on the page that will select a random option from that select element ...