Category "jquery"

Issue with click function not working after toggle

Sorry the title is vague, I'm not sure how best to describe this. I have a function which should do the following: If a menu link has children: preventDefault o

CKEditor 5, jQuery - find and replace text

How could I find and replace text in CKEditor 5 using JavaScript and jQuery? I want to find special character '@' in the text and replace all characters after '

Not able to click on a button inside iframe using cypress

Not able to click on the button inside iframe using cypress HTML <button class="MuiButtonBase-root MuiCardActionArea-root jss9" tabindex="0" type="button">

JQuery - How to check all value from array before goes to else statement?

How can I check all value from array before going to else statement. My code only working for the first array, in my case which is /members/, but it wont work f

when clicked outside the dropdown menu then top default value of the search need to take

how to set After searching from a search bar if it is clicked outside the search bar then it should take the first value of my search ?? I have tried with addEv

How we can call python POST request API from JQuery Ajax It showing CORS policy error

I have python API which is POST request, http://192.168.2.25:8059/calculation In Postman it return response like (Expected output should be same as like below)

How do I filter and then use API Data?

I have this sports API and I want to be able to pull only certain league ids from this data and use those selected leagues to display them. here is the API Call

Get associative array after post via ajax

I need to send a form and a array/string to the server. My Ajax looks like this: var formData = $("#formpv").serialize(); $.ajax({ type

Click <select> and <input> after page load

I am writing a Greasemonkey script to interact with orders on Shipstation.com. The script will select certain values in <select> and <input> element

jQuery - Open one accordion, close others

I have an accordion section and need to achieve two things: Have the first accordion open by default on page load. Everytime I click on closed accordion, open i

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