Category "jquery"

How do I disable wc-cart-fragments without console error?

I have a client who does merchandise 'drops' where they receive a lot of traffic. In order to limit some of the excess load on the server I am disabling AJAX wc

use response data in columndef datatable jquery

I am using datatable jquery.I want to use Sr_no in data-id of td tag but How to get data of Sr_no. or you can say that I want particular data from data reponse

Trim mobile numbers in textarea field

I have a textarea field in a form where I can copy paste (or type) mobile numbers. It will have one number per line, like this I can copy paste (or type) thousa

Embed HTML5 YouTube video without iframe?

Is it possible to embed an html5 version of a youtube video without using an iframe?

How to determine the winner in a race?

I have created a program that places several nodes (which act as animals) on the screen; they're supposed to race eachother. Animal.js is the parent object of t

Ajax undefined value in PHP

When I call the function I always get an undefined value, I don't understand what can ruin it. You are logged in as undefined, Error undefined Ajax script: fu

Ajax undefined value in PHP

When I call the function I always get an undefined value, I don't understand what can ruin it. You are logged in as undefined, Error undefined Ajax script: fu

How to clear user uploaded images if the limit of files exceeded in jquery

I have a simple form where a user can upload multiple images. I only want the user to upload 4 images at once, so I did the following: $("#myfile").on("chan

how to apply fluent validation for server side

here I used client side validation its working fine but i also need to apply server side validation if (_eaches > _receivedCases) { $("#EachesMessage_"

How to pass multiple parameters with Ajax

<select name="docname" class="form-control" id="docname" required> <option Value="">Please Choose Doctor</option> <?php fo

Some iphone device not able play audio browser jquery

My jquery audio script perfecly play audio, but some iphone device has no audio playing, can anyone tell me the problem, <script src="https://cdnjs.cloudfla

Convert List group to tabs in bootstrap

I have dynamics powerapps portals that renders the tabs like below but my requirement is to change it to look like tabs. Powerapps portals uses bootstrap 3.3v.

Why does jQuery or a DOM method such as getElementById not find the element?

What are the possible reasons for document.getElementById, $("#id") or any other DOM method / jQuery selector not finding the elements? Example problems include

how to show 1 div out of 4 at a time

So I have a navigation of 4 links, to 4 divs(pages). I want only one page to show at a time, with the id=home showing first once the page loads. To be clearer,

Popup div hidden at the end of the data table

Currently we are facing an issue related to a div that hides at the end of a data table that we are using in our system. The popup div is working fine from the

How do I capture the data sent by ajax in asp.net razor page?

I'm trying to populate a partial view with the data of the user i clicked on. Here is the code: <tbody class="text-center "> @foreach

HTML & JavaScript. Trying to target a text input from an adjoining anchor

I have an HTML table. On the table I have an input textbox. Next to it. (appended in the HTML) I have an anchor. All I want the anchor to do (at the moment), is

Upload image into div with premade graphic and export div as jpg or png

Looking for a solution for screenshot of div that has premade graphic, where a user can upload their picture / avatar into or on top of (image covering the circ

Jquery UI Sortable execute function on drop outside or inside the same list

I am working with Jquery ui sortables. I have made bootstrap cards sortable in a table. When i drop a card i want a to execute a function. This works fine when

jQuery unable to load mobile size view cart

I am trying to load the view cart area of my html and jQuery code in the mobile size, but unable to do so, I duplicate the function and added a 1 to the end of