Category "jquery"

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

How can I retain the scroll position of a scrollable area when pressing back button?

I have a long list of links inside a big scrollable div. Each time when a user click on a link then click the back button, it starts at the very top of the div.

jquery dataTable TypeError: j[k] is undefined

I am using jquery dataTable for list of data. My issue is that when page it load is returnig TypeError: j[k] is undefined. My getStudentDataTable.json is not ge

A classical jQuery error - Uncaught TypeError: undefined is not a function

I have some JS functions in my page, and I got this error. I removed everything but the incriminated lines and I still get this error. I searched this forum and

HTML Datepicker - Opened by default

I'm using an input of the type date. I would like to know if there is a way to make the datepicker selection panel opened by default when the user enters in the

Multiselect dropdownlist with Checkbox in asp.net

I'm using bootstrap multiselect dropdown list with checkbox.its working well without master form.but its not working with master forms: <asp:Content ID="Con

jQuery multiple target IDs for click function

This may be a little redundant but I was wondering if there's a way to improve the code by shortening it to avoid repetition. $('a[href*="#about"]').click(func

Javascript Popup Form

I have an image where if you click the image, it acts as a button and opens up an overlay window with a form. A user can submit a username and password and subm