Category "jquery"

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

I've a form which I'm submitting (through GET as it is required this way) to a crm (ViciDial). I can successfully submit the form however if I do that the proce

change font family in datatable

I'm a beginner in java, How can I change the font family of all texts (header, footer and body) in a datatable? I found nothing about font family in datatable

Issue with triggering the submit function with included js file

I'm have a problem triggering the form submission. I am setting the form into <div id="access"></div> innerHTML using the included js file in the he

How to submit a form when page loads using JavaScript?

I know this question has been answered many times but in my case the JavaScript code creates a infinite loop which makes my page load continuously, <script t

Javascript form success

I can't seem to get a success message to pop up with my form on my site. The message gets received but no indication is giving to the user via alert as it's mea

Chrome Alarm events keeps firing every 4 seconds

I am trying to pass a message triggered by an alarm from background.js to loader.js. Here is my code: manifest.json: { "update_url": "https://clients2.google.

Python partial equivalent in Javascript / jQuery

What is the equivalent for Pythons functools.partial in Javascript or jQuery ?

Wordpress : Load the whole Page using AJAX

I currently using Oxygen Builder in my wordpress, tryna load my other page using AJAX and I'm very very noob at this. Then, i've done some research about it fir

jQuery DataTables format output for export, exclude buttons

For the jquery data table, I have a table displayed in one of the columns in the Datatable and wanted to enable the user to toggle it on/off. When exporting to

How to trigger 'submit' event before the 'blur' event is triggered?

I have a form which has an error message as shown in the example below: http://codepen.io/anon/pen/dYWyEM?editors=101 Steps to reproduce the problem is as follo

Get value of the clicked button

I have multiple buttons containing different values. My buttons :- <button id="1" name="1" value="1">Button1</button> <button id="2" name="2"

Simulate backspace button JS

I want to create a custom backspace button with the same logic as "backspace" button on a keyboard. I use the following code: function backSpace() {

Progress bar with intervals

I am trying to create a progress bar with steps and a play/pause button. I am having trouble with creating the play/pause button but the case is that onload pro

How can you determine if a certain html table header exists using jQuery?

Let's say I have the following table: <table id="mytable"> <thead> <tr> <th>Col 1</th> <th>Col 2</th> &

Call function on scroll only once

I got a question regarding a function that will be called if the object is within my screen. But when the object is within my screen the function is been called

Script causes “Refused to execute inline script: Either the 'unsafe-inline' keyword, a hash… or a nonce is required to enable inline execution”

I keep getting this error: Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self' data: g

jQuery drag and drop is not working with mobile touch

I am using jQuery drag and drop library, but its working well in web browsers but not working in mobile touch. Here is my html and javascript .. P.S. I want to

Create array of available time slots between two dates

I am weak on front end work and need a little help here. I am developing a basic form that gives the users available schedule options for booking an appointmen

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