1,033,770
questions
0
votes
0
answers
12
views
Iterating through the getChanges array
Currently in my oracle apex application, I am trying to target changes made within an interactive grid and pass the column name, record ID, and contents of the changed cell to an AJAX callback every ...
0
votes
2
answers
43
views
Hiding image parent div
I am setting up a Bootstrap carousel. I wrote the HTML for 20 images, and the number of images changes weekly. The image names are Pic001, Pic002, etc. How do I hide the image's parent div that has an ...
3
votes
1
answer
57
views
Replacing jQuery slideToggle() with vanilla Javascript
Currently, I'm working on replacing the jQuery slideToggle() function with vanilla JavaScript and trying to find a generally effective solution. My elements can have various padding, and until now, ...
1
vote
1
answer
32
views
Datepicker not refreshing data
I´ve been trying to solve a problem I´m having beeing it the next one:
I have 2 datepickers:
Delivery Date Picker:
<div class="input-group date form_datetime times" id="date_entrega&...
-3
votes
0
answers
68
views
Collapsible HTML table from 2D array
Updated the Question
My Data is this
[['RowId','State', 'Jan-24','Feb-24', 'Mar-24', 'Apr-24'
'oddheader', 'NY' 100, 200, 300, 400,
'oddchild','City - 1' 30, 50, 75, 100,
'...
0
votes
0
answers
44
views
Getting a handle on a second variable ID from the first variable ID
There are a number of dynamically added variables that start with FirstName_ SecondName_ and so on - when added to the documents they will have numbers so FirstName_1 SecondName_1, FirstName_2 ...
0
votes
0
answers
27
views
DataTables 2.0 in Wordpress Plugin Admin Area
I would like to implement DataTables2 in my WordPress plugin. I started from test table to check if it works:
<?php
/*
Plugin Name: WooSKU Updater
Description: A plugin to manage SKUs, quantities, ...
0
votes
0
answers
37
views
Error populating dropdown: TypeError: Cannot read properties of undefined (reading 'trim')
I'm using Tom Select for one of my dropdowns in the form. The form has an option to dynamically add new rows to the form. The Tom Select works perfectly fine for the default row of the form, but it ...
0
votes
1
answer
34
views
jQuery Drag and Drop and update input
I need to have a drag and drop combined with click to browse. Click to browse works fine and drops the file into the input.
Drag and drop, on the other hand, works to the point of getting the file ...
0
votes
0
answers
32
views
On the first load of my site, why does it redirect the the page I access with XMLHttpRequest?
In the script at the bottom I get the result from /php/get/items-sold.php and put it into the div called items-list. It's not supposed to actually go to the page /php/get/item-sold.php, but on the ...
-3
votes
0
answers
48
views
Store result from ajax API call into Var | jQuery [duplicate]
I am able to get result from ajax API Call and want to store result into var, but the result does't store into var. Please help me to achieve this. Below is the code for ajax response:-
var Name = '';
...
-1
votes
0
answers
18
views
ie8 click on button trigger select's ondbclick, could do it?
ie8 click on button then trigger select's ondbclick, could do it? actually,that is a ie8 watermark mask penetrate problem
button.attachEvent('onclick',function(e){
var currentDom = e.srcElement;
...
1
vote
1
answer
52
views
Woocommerce - Checkmark validation not working for proceed_to_checkout button
I am new to developing with Woocommerce. Currently, I have a customer disclaimer message with a checkbox that if not clicked, will display a popup to check the box before proceeding to cart. However, ...
0
votes
1
answer
31
views
Post a form via jquery from a same page where url is slightly changed but working on one url and refreshes the page on other url
I'm facing a weird problem where I have to reach a form page via two methods: create and edit. When posting from the create URL, the same form works perfectly, but whenever I post via edit or re-...
0
votes
0
answers
15
views
tn3 gallery within web page called by API into WordPress site not working
I am creating a custom WordPress plugin where a API call is made to display a web page in the WordPress site. The web page called by API has a image gallery made with tn3 gallery, which does not ...
0
votes
0
answers
11
views
Error: Uncaught TypeError: W is not a function when using Vite in a Laravel project with jQuery
I am working on a Laravel project and trying to use Vite for bundling JavaScript and assets. However, I’m encountering an issue where certain JavaScript functions are not behaving as expected. ...
-2
votes
0
answers
33
views
jQuery SyntaxError in Edge: Unrecognized Expression [closed]
I'm encountering a peculiar issue in Edge where my jQuery selector is throwing a Uncaught error: SYntax Error, unrecognized expression: for the following selector:
$('.usname,.myNameValue,details ....
-2
votes
3
answers
55
views
laravel datatable takes long time to load with only two records
i have the following code with only 2 records of data
my controller :
if (request()->ajax()){
$spareparts = Sparepart::select(DB::raw('DATE_FORMAT(spareparts.created_at,"%d-%m-%...
0
votes
0
answers
11
views
I am using kendo multiColumnComboBox but user can edit selected option from the drop down how i cane prevent this edit selected option [closed]
I have set read-only true using this user not able yo edit selected option but if user want to choose any different options from list he not able to select the different options i tried each method ...
0
votes
0
answers
20
views
How to prevent Firefox from launching Reader mode when using a USB Barcode scanner to populate form data?
I have a contact form that I want to populate using a USB code scanning device that reads the PDF417 code on the back of Canadian drivers licences. Script works fine in Chrome, but not so much in ...
0
votes
0
answers
35
views
Retrieving cell data from Interactive Grid
Upon changing a value within my editable interactive grid region, I need to obtain three things:
The column name that the cell that was edited exists in
The value of the primary key of the row that ...
-3
votes
0
answers
47
views
Display in fullcalendar title and description
I have a problem with FullCalendar, I can't display the description on a new line, currently I have created a title which is a concatenation of the title and the description stored in the MySQL ...
0
votes
1
answer
31
views
Bootstrap Datatables sort for various measurement units not working
I have a column which has length values defined in various units, for eg:- 10mm, 200cm, 500mm, etc., where mm = millimeter and cm = centimeter. I am using the server-side script to get this from my ...
0
votes
0
answers
23
views
Checklist save to Firebase [closed]
I'm trying to create a checklist with fruits and the number of calories. Add up the total calories of the marked fruits.
Example:
Yes: 1 fruit = 10 calories
Yes: fruit 2 = 20 calories
No: fruit 3 = ...
-1
votes
0
answers
32
views
"HTML Header Loads via HTTP into main html file from a container html file but Fails with File Protocol " [duplicate]
I loaded the header from container.html using following code in my main html file but it cannot load header locally with the file system (fails to load header when I run it with file://). Could you ...
0
votes
1
answer
54
views
How to find HTML element based on split up text in children [closed]
The element I am trying to find has a hashed classId so the easiest way I know how to find it is either by text or using cy.focused(). Unfortunately, I need to unfocus it and focus it again, but the ...
0
votes
1
answer
20
views
How to parse "structured" input tag data with using Jquery so I can send it via jQuery AJAX?
I need to submit unknown input data from within an element such as a div using Jquery. FYI, I can't use a form element because this data might already be inside a form.
The input names need to be, for ...
0
votes
1
answer
33
views
jQuery ajax functions doesn't work without error in my project
I want to load data to a div by id commentList by Ajax function. I need to send the data to an action named CreateComment by a form tag using Ajax. After creating the comment I need to load the data ...
0
votes
0
answers
25
views
Window.open in TAB only if the window is not open
I'm using the following code to open a window if it doesn't exist, or focus it if it does.
The issue I have is this opens a popup window, not a new tab in the browser.
var targetWin = window.open('','...
0
votes
0
answers
33
views
Toggle CSS onmouseover - Wordpress Menu
I have a wordpress menu in which every links a custom class.
Onmouseover, I'd like this class to change the css of another element in the page.
I tried without success:
$('.menuclass').onmouseover(...
0
votes
0
answers
18
views
Inserting navigation with jquery doesn't render HTML when view page source [duplicate]
I have a static HTML website and I would like to inject the navigation for each page using jquery. I cannot use PHP as it has to be static site (HTML, CSS, JS). The injected navigation displays fine ...
0
votes
1
answer
25
views
Jquery, How to add multiple buttons on the table in datatable?
I have this table and I want to customize the buttons on the table
From the left, I want to add date (from), date(to), dropdown, search bar, search trigger
I tried to find docs and blogs but couldn't ...
1
vote
0
answers
44
views
Select2 js with checkbox options
I want to have checkbox to select in my options but don't know what to do.
References
Here is my select box code:
<select class="form-control select2" id="data-set" name="...
0
votes
0
answers
41
views
Inserting navigation dynamically (jquery) causes an error on other JS scripts
I have an HTML site with some js / jquery code. I wanted the navigation to be dynamically injected and I am using for this jquery (within HTML). Here is my HTML, the navigation bit is just after the ...
-1
votes
0
answers
43
views
How to do ajax in php without form [closed]
I am trying to implement sweet alert in my web app for deleting some row from database server.
but the post is posting [object][object] instead of the values
Here is my code
$(".action")....
1
vote
1
answer
41
views
JavaScript stops working after UpdatePanel is triggered
I’m having an issue with the UpdatePanel and JavaScript. The JavaScript code works perfectly at first, but it stops functioning after the UpdatePanel is triggered.
This is the code :
<script>
...
0
votes
1
answer
15
views
How to catch errors inside request.done() in ajax jquery?
I'm new to jquery.
I have a script to send a request to an API. Basically everything is working fine. Now I'm trying to simulate a network connection error, and show an appropriate error message to ...
-2
votes
1
answer
78
views
I'm making a language switcher to a website how can I disable it or change its location on mobile devices?
I am making a language switcher, but I need to change its location based on the screen size because on mobile it gets out of the screen. How would I be able to do that?
<script src="https://...
2
votes
1
answer
34
views
JQuery UI not showing tooltip (serializing toop tip not working)
I have used Jquery UI before and tooltips without issue... this time for some reason I cant get them to work. I am trying to get a tooltip to show on only 1 element if the mouse is hovered over it. ...
0
votes
1
answer
65
views
Run ajax call after close modal form ASP.NET Core
I am using ASP.NET Core 6. I have a razor view that has a section in it that is populated by an Ajax call:
<div id="assessmentTablesDiv">
<!-- ...content... -->
</div&...
-1
votes
0
answers
29
views
Import jquery-form with vite
I am converting an old web page (using jQuery with jquery-form plugin obviously) to Vite with ES6 syntax. I am having issues using jquery-form plugin. My Javascript knowledge is not that good. I ...
-1
votes
0
answers
30
views
Calling React function from Jquery plugin
I am using a jQuery plugin in my react app and inside that jquery plugin, there is a button click. I want that when that button is clicked, my route of react should change. Basically, I want to ...
-2
votes
0
answers
32
views
Issue with AJAX-based Dynamic Dependent Dropdowns: "Error loading subcategories" in JSP and Servlet Setup
I'm trying to create a set of dynamic dependent dropdown menus with jQuery and AJAX. The dropdowns should show categories, subcategories, and further subcategories. However, I'm encountering an issue ...
1
vote
0
answers
63
views
jQuery ajax call returns different things on different servers
I have the same front end and back end code running on two different servers (each frontend calls the associated back end, no CORS issues involved).
One one server I make a jQuery 3.5.1 $.ajax call to ...
0
votes
0
answers
13
views
get variable under Network tab on browser using jQuery [duplicate]
I have a simple search submission form on one page with the following code...
<form id="FormSearch" method="POST" class="customform" action="forum-search.php"...
-1
votes
2
answers
32
views
Not Able to Toggle Classes in jQuery Condition Properly
Having two buttons with same class as
<button class="show-hide-sidebar">Cart</button>
<button class="show-hide-sidebar">Wish</button>
I am trying to show ...
0
votes
1
answer
46
views
Datatable: How to put sorting on the first header row (by default sorting is put on the second row)
I am having a problem with sorting.
By default it is put on the second header line but I want it on the first and not on the second.
The second header row may seem silly when viewed like this, but in ...
0
votes
0
answers
98
views
Creating Pattern with jQuery and Repeat into Canvas
I'm working on a pattern placement algorithm for SVGs on canvas and it will be a WordPress plugin. I can place the SVG on the canvas and calculate the width and height values, however, since SVGs have ...
0
votes
1
answer
33
views
How to use slick carousel rows and slidesPerRow on responsive display?
I want my carousel items on the ff conditions:
3 rows and 3 slidesPerRow on large desktop above.
2 rows and 2 slidesPerRow on less than 992px.
1 rows and 1 slidesPerRow on less than 768px.
But it ...
0
votes
1
answer
25
views
JQuery DatePicker , beforeShowDay
I'm a bit desesperate as I don't understand why beforeShowDay doesn't work the way I expect it to work. I'm trying to highlight some date that comes from a database (I get the data from Ajax)
I can't ...