Category "jquery"

Javascript moment Is within a date range api

Currently using http://momentjs.com/ Is there a function I can use as below to find out if array of dates fall within a single day? Example: Events0 - 21-12-

Using $(this).find with .click() jQuery

On the click of the plus icon I want the check icon to appear for only the one plus icon in that particular div. Not all plus icons throughout the page. Here is

Form Validation and Submission to database

I am working on a project that has a FORM which should VALIDATE itself and then submit the data to the MySQL Database. But I am facing an error. This is the f

How to prevent that a JQuery button submit my form?

I am absolutly new in JQuery development and I have the following problem. I have a form that contains this JQuery button: <!-- RESET BUTTON: --> <td&g

Why this form is submitted also if this script forbids the submission?

I am absolutely new in JavaScript development and I have the following problem. I have a form containing two input tags where the user can insert two dates (som

Single byte, Double byte, triple byte characters how to find which one is entered by user

While working on a multilingual site (with Japanese and Chinese languages ) where users were allowed to enter characters in regional language. I had this requir

event.preventDefault(); only works some of the time with submit form

I am using the Mailchimp API to submit a form. The goal is to prevent the default callback provided by Mailchimp. The majority of the time event.preventDefault(

jQuery Datepicker minDate is not working in bootstrap

I'm trying to set a minDate for a jquery datepicker. but itz is not working. $('.datepicker').datepicker({ autoclose: true, todayHighlight: true,

Streamlabs custom CSS twitch chat animate name and message seperatly

I want to customise my twitch chat overlay from Streamlabs so that the username of the person animates from the left while the actual message they send animates

Allow only numbers and multiple dots in jquery form input

I wanted to know a way to allow only numbers and multiple dots in using jquery in a form input. The scenario is that the form input holds a version name and ve

Jquery Datatables Date Range Filter

The code below is working perfectly but I need to add a new functionality to allow the user to filter on a range of records based on their start date and end da

Custom responsive navbar (priority nav) using Bootstrap 5 and no JQuery

Trying to create a Bootstrap 5 custom responsive navbar (priority nav) with a "show More..." option using Vanilla JS, as I have dozens of menu-items and I can't

Jquery - Automatically add current year months to dropdown

I am trying to automatically add the current months of the year, for the current year to a Bootstrap dropdown list. Currently, I am adding them manually as I a

How to get AJAX to post on second page?

This is what is happening: I send data but and I have it coded to echo out on second page. However, it just echoes out on first page. How do I make it so it ech

JavaScript to update End Date when Start Date is changed

For the site I am developing, I use a form to update the different fields of a model. Some of those fields need to be updated according to the values of others.

500 Internal Server Error on Ajax request. Not sure the origin of the problem

I'm getting 500 Internal Server Error and I can't figure out the origin of the problem. This request is supposed to delete a comment with a certain id from the

Bootstrap button drop-down inside responsive table not visible because of scroll

I have a problem with drop-down buttons inside tables when are responsive and scroll active because the drop-down is not visible because of overflow: auto; prop

Dropdown not showing the selected option

This is what i have coded. $(document).on("change", "#keyDropDown, #valueOfKey", function() { //var chosenKey = $(this).children("option:selected").val();

bootstrap drop down stops working when I use newer version of jquery

I incorporated a newer version of Jquery on my page to make a picture slider work, but when I link the jquery file to make the image slider work, the top menu s

Dropzone.js - Combine with normal form - ask about positioning

I am using Dropzone and try to combine it with normal form so I read this tutorial https://github.com/enyo/dropzone/wiki/Combine-normal-form-with-Dropzone and