Category "jquery"

Need a Click and Drag solution using Vanilla Javascript without jQuery

I have to do a click-and-drag solution for a background image in Vanilla Javascript for a project. I found this solution using jQuery in Codepen. Can anyone hel

Why does my data come from request.form when passing it to the backend in Flask, python?

I've been trying to figure out the best way to pass data from frontend to backend in Flask. The problem is that when receiving data on the back end, the data re

Change Background Color based on the selected Type

I have this <Select> to choose which type they want to input <select class="form-control" id="exampleFormControlSelect1" v-model="exType"> &l

How to find element from html with jQuery

I have a table with checkbox option for each row. For each row I have href (dedicated link) handled by HTML file. I have created a button called: "download" by

multistep form with fieldset is not going to next fieldset even if required field is filled

I have a multistep form with fieldset, but on the next button click, it is not going to the next step it still shows the required field is empty. Blade <form

Hide and show element and stay with the same option selected

i have this code if checkbox is checked i need to show my front_dashboard_custom_formula div and hide front_dashboard_formula_formula_id and set select null if

How do I upload a webcam image using JavaScript ajax to a Django site?

I am creating a livestreaming site using Django and I need to upload an image using an ajax post request to a model form on the django site. I am working with t

I'm using AOS library to give animation but it is not working on some div

This is my html header <link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet"> this is my html <div class="row justify-content-center

how to use @foreach inside AJAX & jQuery code for insert Multiple rows Data in Laravel 8

The code it works normal when i put option in static mode, for example: "<select name='id_post[]' id='' class='form-control'>"+ "<option value='1'&

Parsley + recaptcha v3 promise

I'm not able to get the following code to work: $(function() { function verifyRecaptcha() { return new Promise((resolve, reject) => {

Whay not jQuery .sortable is not a function?

When I am Create Drag and Droppable Datatables Using jQuery UI Sortable in Laravel Then Drag and drop not working in this code ... Create Drag and Droppable Dat

Slick slider mobile:first param not working (responsive not working)

I have slick slider implemented on a module and here's a summary of how I'm wanting it to function: <= 767px screen width: show dots (no arrows) and 1 slide.

How to show a partial view in the DOM, from a data obtained from a select control

I am working on a Net Core 5 MVC project. I want to generate a warehouse receipt document from a purchase order, the idea is to show the available orders in the

Botman ChatWidget available methods only work on click event

I want to use botmanChatWidget.say(text) on page load but it only works on click event. Help!

Hiding a div with JQuery

My div is inside a user control, it shows a "successful" message after a gridview update. I don't want that div to be persistent and want to hide it after a few

JQuery autosubmit

I have a form with three input elements. I want to run my validate function when the last input element is not equal to null. Any ideas please. Here's the code

Insert data after event.target (Owl Carousel)

I am following this codepen here to insert the current and total number of slides on an Owl carousel. Trouble is it targets a div with ID #counter. So if there

Variable returned by Symfony controller always undefined

Ok, so I have a text field in which I type a string and I have a button next to it. <div class="sidebar-search"> <div class="input-group custom-se

How would you create a button to format text in a <div> with JS?

I'm trying to make a basic text editor in HTML. I've got an editable div tag so far, and by using keyboard shortcuts, you can format it. However, I want it so t

JQuery - $ is not defined

I have a simple jquery click event <script type="text/javascript"> $(function() { $('#post').click(function() { alert("test");