Category "jquery"

Div hide/show using radiobutton functionality using Jquery

I have text & image wrapped in a div. Using Radiobutton the image & text should appear top & bottom. If you select image radiobutton, the icons shou

Onclick Event Google Visualization Pie Chart create with Dynamic input value

I have 3 inputs and from where by click in a button get those input value and create a Google Visualization dynamic Pie Chart depend on those value . I have mad

Cypress: How to know if element is visible or not in using If condition and xpath?

Cypress: How to know if element is visible or not in using If condition? The answer of the above question works perfectly for CSS selectors. The answer is cy.ge

Cypress: How to know if element is visible or not in using If condition and xpath?

Cypress: How to know if element is visible or not in using If condition? The answer of the above question works perfectly for CSS selectors. The answer is cy.ge

Change HTML Page Language

I want to make a page in English that has a button which can change the language to German. I have read thousands of articles about this topic but I haven't got

Set quantity minimum, maximum and step at product level in Woocommerce

I'm using "set minimum and maximum allowable product quantities to be added in WooCommerce Cart" to require a minimum and maximum quantity order. Now, i need to

How to automatically reload the ajax/jQuery table data after a button click

I have created a jQuery/ajax API call function to read the JSON data and insert it into the HTML table and it works fine, But I want to auto-reload the table da

image height coming back as 0 -- need to get the height after the image loads

I'm enlarging an image on click. I'd like to put a caption right under the image, but to do that, I have to know what the new rendered height of the image is af

Update Total in checkout of Woocommerce with Ajax Request

Before asking question on SO, I searched a lot about what I needed to make a ajax request with WordPress. All my code and the request is working, but is not doi

Cannot read property length of undefined in Datatables

I'm trying to show some data on a Datatable. The data is called from an Ajax request and the response is a Json array, it looks like this: [{"item": "one", "pr

AJAX POST not sending request to express.js server with body-parser due CORS problem

I'm trying to make an AJAX POST request from my html page which runs on an apache server. The request is needed to POST a filename to the express.js server and

How to rewrite costum Gdpr cookie consent jquery code snippet into pure javascript

I need help with Gdpr cookie consent Jquery code snippet below to rewrite it into pure javascript. Can any one please help me rewrite it into pure javascript? T

Use a class as a selector for particles.js

I have the following code which adds particles.js to a element by its id (fixed-back-canvas) but I can't seem to set it to select a class rather than id. Adding

Can't load existing files using the jquery-filupload examples

I am using the code provided by the blueimp jquery-file-upload site from the basic-plus demo example. I have modified it enough to fit my requirements and works

How to get latest version of Jquery through Jquery-rails in rails application

I am trying to fix the CVE's related to jquery as follows. So for that I am trying to consume latest version of jquery. Earlier I had //= require jquery in ap

Javascript and JQuery not working properly in my website project

Js and jquery are not working properly, the menu-toggle button does not work in responsive mode. the carousel (using slick) is not working properly in full page

Get values in JSON object from html input text and label

I have a HTML by which currently getting the values of input elements in loop in an array. But now I want this in json object with its label. Below is my html

How to reset a date in Firefox input[type=date]?

Firefox v57.0.1 supports the attribute "date" for the HTML input tag. I would like in jQuery to reset the date value when the user click on a radio button like

Insert And Retrieve Data in MySQL with $.post Noob Question

Trying to insert data into MySQL database with PHP. I don't want to refresh the page. The data isn't inserted when I press the Send Message button, but the data

How do I display number of selected items in checkbox?

How do I display the number of selected items? I've tried different ways to count the checkbox but it did not count the items when I click "select all". I want