Category "jquery"

Pop-up doesn't show up in MVC

I'm trying to add pop-ups for login but they don't show up. When I make some changes messages work right but they show up as Json. Now only the RedirectToActio

jquery Audio don't repeat

I would like to repeat an audio file with 5 seconds length for example 10 times. var audioElement = document.createElement('audio'); audioElement.setAttribute('

Pure JavaScript: set min-height of all product title to the highest of them all

In collection pages of our Shopify site, the VIEW DETAILS buttons in every product card are misaligned because of variable lengths of product title. In order to

HTML input set type from value

Is there any known way of getting the input tag type by checking the default value set for that input? i.e. if the input default value is set to true or false t

Jquery Object and Array implementation

I have an Object let data = { a: 1, b: 2, c: { abc: "ak", bcd: "gh", cfv: "ht" } } the

Oracle APEX - Put onclick event on tabs of tabs container

I've got a tabs container with three tabs. They have select lists and checkboxes on them which have sql queries as source. Users can select entries in the lists

How to make Slick swipeToSlide vertically?

I'm trying to make a navigation vertical carousel compatible with IE11 i'm using slick library for the carousel, i'm having some issues with swipeToSlide option

How to fade smoothly between gradients in JavaScript

This code populates a div with a predefined set of gradients and fades through them in a cycle using jQuery's .animate() method: /// Background Gradient Cyc

jQuery click + if + .find function not working

Going nuts here. Trying to write a function where if there's a '.child' class element inside the container, the function fires, but otherwise does nothing. Howe

Allow only one element to be toggled at time

I've created a list of some movie titles. If user has permission he can edit those names by pressing crtl + left click on title that he want to be changed. P ta

getJSON caches file while it is being updated

I have a loading process running which fills my database over the course of roughly 37 seconds on my local machine. I am at this point making a process for this

add a triangle icon to the div opening and closing

I have the code where onclick of the link, i am opening and closing the div here is the code <div id="opendialog" style="display:none;"> <div st

pause and resume http file upload/download

I have 2 servers, one local server(office) another remote server in cloud (storage), users in the office can't access the remote server. I want to create some u

Bootstrap missing top accordion border when accordion-items hidden

I have a Bootstrap 5 accordion component on my page. I also have a JavaScript snippet that makes one or multiple accordion-items of this accordion hide dependin

jQuery AJAX Not Returning Error Message with SQL Server

I'm testing jQuery AJAX to return data from a SQL Server table. In the AJAX call I have a failure function to show any potential errors in an alert box. However

Weglot js call works on chrome but not on Safari - can't figure out why

I'm new to js and jQuery so please forgive me if this code seems a little lost. I'm trying to hide/unhide Webflow classes based on the Weglot language selection

AJAX - How can I build a notification system, that is constantly getting updated, without slowing down my website too much?

I am a beginner to web development, and I am trying to do a notification system with AJAX and jQuery. In my web application, I have a comment system where you c

jQuery Datatable Show / hide columns dynamically

I am trying to show/hide datatable columns dynamically. For this, here I am going with the example which is given by the official datatable website. This is the

TypeError: 'undefined' is not a function (evaluating '$(document)')

I'm using a WordPress site. I'm including this script in the header. When the script loads, I get this error: TypeError: 'undefined' is not a function (eval

How can I toggleClass on this element and hide others?

I would like to toggle show a megamenu clicking on his parent tag and at the same time close all other megamenu if opened. with my basic example code (just to e