Category "jquery"

How to add footer on last page on print into datatables

I am using datatable to show list of records. To print this list, I am using print button of datatable. I want footer of table into print view because it has to

Fetch selected item of DropDownList using $(this) object

How do I fetch the selected item of a DropDownList using $(this)? I have two DropDownLists in a web page. I want to get the selected item name. I tried 3 ways a

Self Hosted WCF REST service JSON POST Method Not Allowed

I have literally seen thousands of these "WCF" questions on the internet so far, but I am beginning to think that it is impossible. Please someone tell me I am

JQuery: how to exclude from selection div elements that contain a span element?

I have selected a group of div elements from a table, filtered the selection to only the div elements that contain the class __gwt_cell, and I have saved them i

Datatable styling so bootstrap button appears on same row as other elements

I'm using jQuery DataTables plugin and Bootstrap on my rails site. I can't get my custom button and other table header elements to nest in the same row, They ar

Simplest way to disable button on submission of a form?

I've been trying to find the "right" way to prevent double submits of forms. There are lots of related posts on SO but none of them hit the spot for me. Two q

How to display picture into div with jquery

Is anyone can tell me how can I modify below code to display picture into a div when user click in link ? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans

$(...).pagination is not a function

I'm getting that error when it reaches this line. I've confirmed that the file jquery.simplePagination.js is present before it gets executed. I also don't see t

jQuery Canvasjs Charts not displaying properly after passing data dynamically

i am trying to work on jquery canvasjs charts by passing the data dynamically from my c# codebehind. But the chart is not displaying properly. Here is the cod

Remove image dynamically using jquery by clearing the src attribute

I know one can load image dynamically using $("#id").attr("src","path of the image"), but to onload the certain image on certain event, $("id").attr("src","

Document title won't stop blicking

I'm trying to get the document title to blink whenever there's an incoming message. I was able to get the title to blink properly, however the problem I'm runni

Getting Stored JSON data after Ajax is Complete

I am currently doing an exercise on Jquery, Ajax and JSON. I have found a few ways to get data, but now I would like to store this data from JSON into a variabl

Change JS code in Inspect Element Editor

When I make some changes in html content using Chrome's Inspect Element editor the changes are immediately reflected. But when I make a change in Javascript cod

Jquery nested LI elements inside tabbed content UL LI list

Im using tabbed content on my page (SEE MY FIDDLE) Now the tabbed content makes use of <ul><li> elements to display the different tabs. Inside one

In Spring mvc application, @RequestBody is throwing java.io.EOFException

In the jsp i am passing the data as json,as in the controller method i am trying to map the data to Personbean object using @RequestMapping. But its throwi

Only on Firefox "Loading failed for the <script> with source"

I want to integrate Marketo form with my existing website on yii framework. My code works on all the browsers except Firefox. Excerpt from my code: $('#bu

Dynamically resize the pixi stage and it's contents on window resize and window load

I'm trying to dynamically resize the pixi stage (canvas and contents) on window resize. And also have it initially load at the size of the browser window witho

Uncaught TypeError: r is not a function

I've definitely linked to the jQuery UI javascript and CSS files correctly - when I view the page source, they're all there. Why am I still getting this error?

Mapping Ajax Request in Spring MVC: getting error 405 method not allowed

After making the ajax call I am getting error 405 method not allowed. I am using Spring 3.0.1, Spring-web 3.0.1. Here is the controller mapping @Controller p

how do i pass info.startStr into an html input inside a modal window?

I am calling a modal upon clicking/selecting a date (NOT EVENT) in FullCalendar: select: function(info) { var sdate = info.startStr; $('#fullCalModalAdd').