Category "jquery"

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

How to defer inline Javascript?

I have the following html code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title&

Inline-block remove bottom space to add text

I have the below code to begin an animation for an acronym that makes the code transform to a vertical form. I'd like to have it where it will type the rest of

Pass an image through AJAX [duplicate]

Basically I want to pass a image file with ajax on submitting a form and retrieve the image and send it by email as an attachment file: Here'

Check URL if it has a specific anchor tag

If a user requests the following address (from another page), I want to scroll down to the contact form area: http://www.example.com/index.html#contact How w

What does the term "Backchannel Request" means and how to make backchannel requests

To be more specific: I'm actually trying to integrate to Baseacamp using their new Basecamp api which supports OAuth 2.0. and thx to their poor resources &

JQuery get table row values from input and save to array

I have a table with input fields inside the td. How can i get the values from the input fields (by button click) and store them into an array (one row) using JQ

How to get and Set Gridview Dropdownlist Selectedvalue In JavaScript Or JQuery

I have a gridview in which i have two Templatefields which are having dropdownlist as ItemTemplates. On First DropDownList's SelectedValue Changed event,i want

Deleting a column from a multidimensional array in javascript

I have a 2D array: var array = [["a", "b", "c"],["a", "b", "c"],["a", "b", "c"]] I want to delete an entire column of this array (i.e. delete every third ele

JQuery issue "TypeError: $.getJSON is not a function"

I've got this piece of code: $(document).ready(function () { $.getJSON('http://localhost:5000/', function (response) { console.log(response); }

How to make bootstrap-multiselect invisible my default?

I am using the bootstrap-multiselect plugin to make dealing with drop down menu easier. However, I am having an issue when trying to make the menu hidden by def

Detecting new line while typing in a textarea [duplicate]

When i am typing in a text area, how can i detect whether the current word i am typing is the first word in the newline. I just want to find w

Is there any built in function in javascript/jquery to filter email like php's function (!filter_var($variablePassed, FILTER_VALIDATE_EMAIL))

// check if e-mail address is well-formed if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $emailErr = "Invalid email format"; } This code is filtering

print number from 1 to 10 after every 2 seconds

i want to print number after every n number of seconds and based on few conditions i am changing the timer as well as i am stopping the print function. i have d