Category "jquery"

jQuery Timeout Function not working

I am working on a currently working on a dropdown menu using jQuery. I have run into an issue where the Timeout function is not working at all. The code for it

ReactJS reduce image file size without losing aspect ratio after user selects it in an input

I've been searching everywhere without luck. A simple way to reduce the width of an image picked with a simple <input type="file" /> without it losing it

How to prevent HTML forms being sent multiple times in a row within a short time period?

I'm using this simple form to implement a login: <form action="/handleLogin/" name="login" method="post"> <div> <label for="userid"&

getting image src in fabricjs

hi i am using fabric js for image resize and and drag and drop. now i want active object src . so i try like this way canvas.on('object:selected', function (

Slick : TypeError: b.$slides is null

I am trying to work out why the unslick method isn't working while using responsive breakpoints. <div id="skills" class="sectionWrapperInner"> <div&

disable button not working in jquery and ajax

I want to disable the submit button after the user clicks on the submit button in the HTML form. But form redirects directly to the next page without disabling

how to disable button during ajax request

so I have a razor form and I want to disable a button during ajax request. Also I want to be able to send only one request to controller - (disable any flood a

jqVmap select entire regions on hover and click, with class toggle

I'm trying to expand on jqvmaps using a solution on StackOverflow (https://stackoverflow.com/a/21825653/5580153) about selecting entire regions instead of indiv

Resize jQuery autocomplete UI according to the cursor position

I'm creating autocomplete feature for my own low level program executor.I need to get the autocomplete values near the alphabet typed like in VScode and other I

Using jquery timepicker with views in mvc

I have an ASP.NET MVC project. I would like to use jquery timepicker in the view side. Here is the jquery timepicker : http://jonthornton.github.io/jquery-timep

Laravel Mix Uncaught ReferenceError: $ is not defined

I've searched and searched and I can't find the answer to my problem on SO. So here's my issue. I'm trying to load jQuery Globally using Laravel Mix. I've tried

CKeditor with multiple textareas

I have a button which opens up the dialogue box. Inside dialogue box i have a form in which i have a button, on clicking this button i append another form into

how to add class on table using javascript in tinymce?

I have some problem to add class on table. I wanna this code <table></table> become this code by click a button in tinymce. <t

How to add custom popup window in shopify?

Hi simply I want to add a popup window that appears when the user clicks on a link/button on the product page to show him/her the washing instruction for exampl

How can I add rel = "nofollow" to a link in CKEditor if it's an external link

i want to give rel="nofollow" to my external links which its content managed by ckeditor. example.com = my site externallink.com = any external link For exa

DataTables: Cannot read property style of undefined

I am getting this error with the following: jquery.dataTables.js:4089 Uncaught TypeError: Cannot read property 'style' of undefined(…) _fnCalculateColum

onChange event is not working in color type input

I search a lot and find answers on Stack Overflow but all in vain, nothing is working for me. I want to get the color value when color is changed in input field

Centered owl-carousel where each image has the same hight and keeps its aspect ratio

Is there an approach to to create a centered owl-carousel where each image has the same height without losing its aspect ratio? I tried to calculate the image s

Jest not recognising JQuery Object ($)

I have used JavaScript to created a simple web application to measure how much time I spend on different projects. I want to test the code with Jest and this wo

Trigger selectize load method programmatically

Again simple question on selectize.js. I have an independent user interface element (let's refer to it as input A) and a selectize element. Selectize element i