Category "jquery"

Required fields are not working with ajax

I have created a Registration Form and set its input field to require attribute but its not working with ajax <div class="form-group"> <input requ

When auto-submitting a form, how do I add a header?

I’m using JQuery 1.9.2, although this question might not concern JQuery. I’m auto-submitting an HTML form using this code … <script type

How to insert text dynamically in CKEDITOR

I use plugin CKEDITOR for word editor in my web. Inside the editor I have a table which have two columns . I want to achieve that in the first column if the use

Restrict table data 'contenteditable' attribute to only Integer

The below code allows me to edit the table data row but may i know how can i restrict it to only integers. Thank you in advance for your time :) <td conte

IFrame Resizer not resizing

I'm working on this page here: http://factor1hosting.com/~dnaz/wordpress/certifications/ And I am trying to pull in a cross domain iframe. I am using @DavidJB

jQuery to scroll active horizontal menu item to the center

I am working on a responsive sub menu that on small screens will be scrollable horizontally instead of stacking the links. I can make that work. What I would l

DataTables Export Button Issue - Button Not Displaying

I'm trying to display an export button in the center of the screen and below my DataTable. The button isn't displaying at all. I've downloaded the DataTable fil

Equal height columns using Bootstrap and jQuery

I am using Bootstrap in a current Web project but I don't know how to dynamically set the same height of column elements. I already know the .row-eq-height clas

Stopping modal popup after first visit

I have this modal popup (from topModal) on a website (i know they're annoying but my client insisted!) that pops up after 3 seconds of landing on the page. Is

Form in modal window with Ajax doesn't work in FF?

so i have a simple form in a bootstrap modal window. Now with an ajax call i trigger a .php file which save the data or returns a error. In chrome and safari e

Uncaught TypeError: jQuery(...).dialog is not a function

I have tried all CDN but always get error. Please suggest correct CDN jQuery(document).ready(function() { debugger; jQuery(function() { jQuery("

HTML5 Canvas toDataURL returns blank

I wanted to upload the image files, draw them into canvas, make changes and save it in the database. I tried to test the base64 value that the canvas image (Pic

How to plot x,y coordinates of item on a image in html

I need to place/plot a pin(Small image to point the parts of person) on a image(For example: A image of person). I am getting x,y,height,width values from ser

How to replace img tag with pitcure tag in summernote?

I am trying to replace img tag with picture tag in editor. Editor adding url like : <img src="http://localhost/news/uploads/large/6dBUlfZZBW.webp"> With t

Add link tag using only for homepage in bigcommerce

I want to add <link rel="alternate" href="https://www.example.com" hreflang="en-us" /> this kinda of link tag in my bigcommerce site using jQuery or anyth

Imported js function throw a not defined error

I am getting this error validate_allocation is not defined when trying to execute a function from a static file. Any idea why? <script src="https://code.jqu

Why does the form submit event fire when I have stopped propagation at the submit button level?

HTML <form> <input type='text'> <button type='submit'>Submit</button> </form> JavaScript $('form').on('submit', functi

use bcrypt() in jquery or javascript

this code is written in validation.js to validate the all laravel change password forms dynamically $.validator.addMethod("matchp", function(value, elem

Multiple modals in one page

I'm trying to get multiple modals (popup thingies) in one page. One button will let you see what subject you have, and when you click on it an modal will open

jQuery Validate money field, accept spaces?

I have a custom validator for money fields, it accepts values like 12,00$ 122.04$ 12123123 Now, I want to make it accept theese values: 1 200$ 1 200,22$ So ac