1,034,176
questions
0
votes
1
answer
29
views
Selecting previous sibling when immediate next sibling has a certain class [closed]
I'm working in a content management system that uses Bootstrap and has a lot of default styling. The fullbleed hero image page headers have a default margin-bottom: 20px and border-bottom: 1px solid ...
0
votes
0
answers
8
views
JQuery - use static file in getscript
In one of my script, I'm using
$.getScript("https://rawgit.com/indrimuska/jquery-editable-select/master/dist/jquery-editable-select.min.js").then(() => {...});
to get a script before ...
0
votes
0
answers
5
views
Sorting in datatable not working when loading data dynamically
I'm using datatable and need to load it dynamically on every request/update. This code is working fine in all aspects but the sort functionality is not working properly. I tried using ChatGPT, ...
1
vote
1
answer
16
views
Is possible to automatically Set Dropdown Value Based on URL Parameter in FormCraft Form on WordPress?
I am working with a FormCraft form on a WordPress site and trying to automatically set the value of a Select2 dropdown based on a URL parameter. I have been struggling to get it to work despite ...
-3
votes
0
answers
14
views
i want to make years slider with html css and js [closed]
I want to create a horizontal timeline slider, similar to the one in the image below, where each year is clickable and linked to specific content. The part I’m struggling with is how to link the ...
0
votes
0
answers
5
views
jQuery UI Selectable how to set default value [duplicate]
I want to select item with id="Today" by default.
Here is my HTML:
<ol id="selectable_date">
<li id="Today" class="ui-widget-content">Today</li&...
0
votes
0
answers
16
views
Changing Column Order in Javascript FJS Table Module [closed]
How can I change the order of columns when using the table module in Javascript FJS?
Manually changed the order, but this is not the solution I'm looking for. I want to add a new column at a specific ...
1
vote
0
answers
29
views
Upload multiple images, display a list with filename and new filename, and handle renaming on both source and destination directories(Laravel + AJAX)?
I’m working on a Laravel project where I need to implement a multiple image upload feature with the following requirements:
Shared Directories:
The source folder and destination folder are network-...
-5
votes
0
answers
35
views
Javascript fetching code instead of name within Django [closed]
This is a javascript that I have found in github, this is the link for it.
The problem is that when I used the ph-address-selector.js, it works but instead of fetching the "display name", it ...
-5
votes
0
answers
25
views
jQuery with dot net 7 stopped support [closed]
I am getting a problem with the following function after upgrade vs2022 with .NET 7 has stopped out of support
jQuery(function () {
$(document).ready(function () {
$('select').select2();
...
1
vote
0
answers
16
views
KendoUI jQuery grid column template with `values` field not works
I have defined following jQuery datagrid column. Users is assoc array of text and value fields. Column is correctly displaying users's fullname from values field.
(new Kendo\UI\GridColumn())
...
-3
votes
0
answers
16
views
how to do split in jquery? [duplicate]
some of the phone data in my table is 03121234567, some are 03121234567,05321234567
if there is no comma in the expression
print option 1
if there is a comma, print first 1 and then 2.
how do i do ...
0
votes
0
answers
18
views
JQuery click event in bimsync api
i am trying to select objects by mouseclick in bimsyncs 3d viewer api.
the documentation suggests something like
$('.viewer').bind('viewer.select', function(event, selected) {
console.log(selected)...
1
vote
0
answers
19
views
Integrate landing page in angular
I need a little help, I have a landing page created with HTML, CSS and Jquery, and I have a project in Angular, what I am looking to do is have the Landing page be displayed on the main domain (...
1
vote
1
answer
37
views
Get multiple values from checkbox with jquery [closed]
I have a website created with wordpress and elementor.
In my product page there is a product configurator and, when a user make a selection, this script print the selected value into a div:
Each of ...
0
votes
2
answers
58
views
How can i make a select start at a specific point without using selected
We have this select to select year of birth.
Looking at the statistics of last couple of years, most users (close to 70%) are between the ages of 26-34.
When the user opens the select, We want it to ...
0
votes
0
answers
21
views
SnapAppointments bootstrap-select title issue
JSFiddle : https://jsfiddle.net/stefanu/np8e1uwt/16/
I'm using SnapAppointments bootstrap-select (https://github.com/snapappointments/bootstrap-select/) and get the following strange behavior (maybe a ...
0
votes
2
answers
55
views
I need to click two times to add class to an element
I'm trying to create a Simon Game and when the user click the button I want it to be animated.
I used addClass and setTimeOut with removeClass, the animation happens but I need to click the same ...
-3
votes
0
answers
48
views
PHP response to AJAX Callback printing to screen [closed]
I encountered this really strange issue where my php method is sending back a json response after successfully saving the record into the database but the response is being printed on the screen ...
0
votes
0
answers
24
views
How do you test delegated listeners with JQuery, JSDOM, and Jest?
I have Jest and JSDOM set up to run tests for a JQuery app. I have this test for what happens when you update a parent question that
should add a class to a change question.
HTML
<div>
<...
0
votes
0
answers
26
views
How to use jQuery and its plugin in TypeScript without importing the library?
I'm working on a new website for my project jQuery Terminal that use Docusaurus and TypeScript. But I don't want to import the library and bundle it with the project. I want to use jsDelivr CDN for ...
0
votes
1
answer
30
views
How to change body background dynamically based on the active slide in Elementor loop carousel?
Body:
I'm using Elementor and have a loop carousel element with multiple slides. I want to dynamically change the body background image to match the image of the central slide (the one currently in ...
0
votes
2
answers
59
views
How to Pre-fill WooCommerce Product Descriptions Based on ACF Field Selection?
I'm trying to dynamically pre-fill the product description and short description in WooCommerce based on a custom ACF (Advanced Custom Fields) select field. The field allows the user to choose between ...
0
votes
0
answers
43
views
Open URL prefilling basic auth
On our lan we have a simple web page with buttons that open various internal sites.
Clicking the button opens the URL in a new tab. This is done using:
var win = window.open('http://' + url, '_blank');...
0
votes
0
answers
18
views
Click on YouTube button inside iframe using javascript [duplicate]
I have a YouTube playlist displayed inside an iframe on a webpage & want to automate clicking on the playlist's 'index button' when the page loads so that the list of videos is displayed.
The ...
0
votes
0
answers
22
views
Django SESSION_EXPIRE_AT_BROWSER_CLOSE not working in Microsoft Edge
I am trying to log out users automatically when they close the browser or a tab. I have set:
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
in my Django settings, and it works as expected in most browsers. ...
0
votes
0
answers
19
views
In JavaScript, how to create a date when given an OLE date format and keep it in GMT/UTC and NOT a local time zone using kendo?
I am struggling with keeping a date given to me in OLE date format, like what an Excel spreadsheet gives you for the value (i.e. it's a float value like: 40967.6424503935). Ok I get how to convert the ...
-1
votes
1
answer
44
views
Uncaught TypeError: $(...).froalaEditor is not a function.... This is my problem [duplicate]
I have conflicting jquery versions, the lastest jquery 3.6.0 and then Froala's 2.4.2 I believe. As the process loads jquery and then Froala they interact and Froala overwrites the 3.6.0. I need both ...
1
vote
2
answers
40
views
how can i tell gsap and js to do something ONLY IF width is above 1200px?
i'm in trouble with a project. I'm trying to create a horizontal scroll with Javascript and GSAP, but only if width is > 1200px. i did a thing and it kinda works, but if i resize the web page to a ...
0
votes
1
answer
27
views
Pagination Navigation Not Displaying All Pages in React Component
I am working on a React component that fetches NFT data and displays it in a paginated table. However, I'm having trouble with the pagination navigation. Specifically, I want to show all available ...
0
votes
0
answers
43
views
Why doesn't my Leaflet filtering work with indexOf() or search()?
I have a map with a lot of markers imported from geojson via ajax and I can't get filtering to work.
There are 3 checkboxes and any combination of them can be checked. Each markers has a property ...
0
votes
0
answers
30
views
How to Hide and Show Table Footer Using jQuery [closed]
Displaying the sum of the data in my table footer. I want table footer hide when sum is zero or null. but table footer display when sum is not zero or not null.
How to solve this from jquery.
<...
0
votes
0
answers
18
views
Jquery DevExpress Datagrid with remote paging & local grouping in laravel backpack crud controller
I used Devexpress Datagrid in php laravel blade template use override default list view of laravel backpack crud controller. as devexpress as more controller then list view of backpack which is in ...
-2
votes
0
answers
33
views
I need assistance adding another quantity field in this code [closed]
I have a POS system which am trying to manually add a sale, and i need to add a quantity field similar to the one already on there to be labeled as bonus, so when you add the inputted values for both ...
0
votes
2
answers
48
views
How to get all the values of jQuery datatable columns in all rows which contains dropdownlist
I have 5 columns in my jQuery data table and the fifth one is a dropdown list as shown below:
enter image description here
I want to save the data in this data table. So I want to iterate through all ...
2
votes
1
answer
114
views
+500
EventListener not being removed
I've got some Javascript that works fine on the first load, but isn't working on Postback. After doing some reading, it seems like I need to remove the EventListeners and rebind them. So I've got ...
0
votes
1
answer
43
views
Page Break using Javascript Jquery in view and Print
I have this code which I want to use pagebreak when the data in the first page is overlap in must goes to the next page since the size of my container-body3 paper is A4 and I tried dynamically but it ...
1
vote
2
answers
78
views
Getting json data from AJAX in MVC Resource Command (Liferay 7.4)
I am unable to get the JSON data from AJAX in MVC Resource Command because I am getting null value in the request parameter.
I have searched for several Stackoverflow answers to solve the problem, and ...
0
votes
2
answers
33
views
Get element id and add to JS function options
I am using jquery.timepicker to make a field a time picker. The default functionality it to append the drop down to the window.
I do not like the width of the dropdown and do not wish to set a fixed ...
1
vote
2
answers
48
views
Show div if class exists later before next div of same class
I want the code to go through each div and if it has the class of "type2" or "type3", then show the div with the class of "itemheader" that is above it. It is not nested, ...
-1
votes
2
answers
31
views
How to execute jquery validation to array of input elements
I have a dynamic list of inputs that gets name of the user. I need to validate, using jquery validate plugin. Below is my code structure.
Either jQuery validate does not support this array of ...
-2
votes
0
answers
16
views
How to fix Micrososft 365 problems? [closed]
How do I renew my Developer Program subscription?
I was subscribed for three months, but I left the program and did not use it for a long time, and now I want to renew the subscription again, what ...
-1
votes
0
answers
31
views
Slick Slider with youtube videos not showing first one [closed]
I have a page with a slick slider that each slide has a iframe of a youtube embed video. For some reason the first video doesn't show up. If I change the video to another location it shows and if I ...
0
votes
0
answers
11
views
Getting an error when i try to copy texts javascript [closed]
I'm always getting an error, when i try to copy the hashatags here is my codes below
var hashtagbutton = $(this).find('.copyhashtagsbutton');
var tagsli = $(this).find('.tags li');
hashtagbutton.on('...
0
votes
0
answers
40
views
jQuery multiselect.js selects all options even they are not visible
I use this plugin to make multiselect more comfortable - http://loudev.com/.
I have also integrated search via quicksearch plugin.
And I have set optgroup can be selected
But I would need, if any ...
0
votes
0
answers
28
views
json_encoded array ajax response interpreted as text [closed]
My ajax response seems to be interpreted as text even though the ajax request contains datatype: "json". My understanding is that header line in the php script below should have no effect, ...
0
votes
0
answers
19
views
Webresource form in power apps API show 401 error
I created web-resource form using html,JavaScript and jQuery when I deployed in power application the API show error
401 (unauthorized)
and not working. When deployed we used below script also for ...
0
votes
4
answers
42
views
How to replace a quoted string with a modified version of it JQuery/Javascript
I'm looking for a solution to replace all quoted strings in a phrase with the same quoted strings but in a modified version.
This is an example of what I mean:
var str = 'name="benson"; ...
1
vote
1
answer
45
views
Bootstrap 5 Bundle and Jquery Spinner issue
I'm facing a problem using Bootstrap 5.3.3 (BS5) bundle with JQuery spinner (for inputs with quantity spinner) - it all works fine however the up and down arrows don't display on the spinner - the ...
-3
votes
0
answers
28
views
jquery and good old ajax form submission not working [closed]
I have a form and some jQuery:
function SendMessage() {
var str = $("#frmMessage").serialize();
$.ajax({
type: "get",
url: "messagesave.php",
data: str,
...