jquery on SO

0 answers

Pagination using Javascript

Trying to implement pagination for jQuery accordion using javascript. I found this link for a javascript class to implement accordion pagination. However, it's not behaving as expected. I played with ...

1 answer

jqGrid add a button to selected checkbox from outside,possible?

I have a separate button outside the jqGrid when I click on this button I need to add a custom button nearr to the selected checkbox So far I am getting the check box ids but not getting how to add ...

2 answers

Removing selected option from dropdown selects default option not next selected

I am manipulating a select, which before I show is got more than one selected option. After my code just one stays selected, but because I removed the previous selected the select is showing the ...

2 answers | 2 mins ago by lpaloub on Stack Overflow stackoverflow.com
1 answer

Why is this Promise not working correctly?

I am new to jQuery Promises but I am using them fine in other parts of the app, but this one does not seem to be working as expected. Seems it is not waiting for the return before executing the next ...

3 answers

How to set the row background color in Kendo UI Grid?

I have grid with 21 rows. My requirement is to set some of rows background color is Light Green(like 1,5,13 rows) is this possible to achieve. $("#gridSellIn").kendoGrid({ ...

0 answers

Update Partial View Within Partial View Using MVC Ajax

I have an MVC 5 web application that contains a Razor View called CreateProposal and it accepts a ViewModel called ProposalViewModel. This View, includes a reference to a Partial View called _Proposal ...

4 answers

JQuery Number Formatting

There are way too many questions and answers about this basic functionality, I cannot see the wood for the trees. In Java there is only one simple answer (java.text.NumberFormat and its subclasses) ...

0 answers

Need help using Javascript to insert an onclick event

I am attempting to use Event tracking in Google Analytics. In order to achieve this I need to add an onclick attribute to certain links (The ones I was asked to track) like so: <a ...

1 answer

Using `.toggle()` rather than applying a class to show content

I'm working on a simple website to use at a conference and I'm looking for some help understand the implications of two ways to achieve an effect: Using .toggle() to show or hide content This is the ...

1 answer

Autocomplete with SpreadJS

I'm trying to add autocomplete functionality to a column in SpreadJS, such that as the user types into a cell a dropdown list will appear with matching items retrieved from the server. The SpreadJS ...

1 answer

jQuery / Bootstrap Pop up window adding Fees to Running Fee Calculator

Alright for some reason I can not get it to work properly in this example.. http://jsfiddle.net/hwcu7e05/ Basically what is going on is I have a fee calculator that tallies up the fees as the user ...

1 answer

Change value of jQuery mobile flip switch using php

Does anyone know how to set the value of a jQuery mobile flip switch using just php? I have tried the below without any luck. Any ideas would be appreciated! <?php ifFilled = '1'; ?> ...

1 answer

Bootstrap dialog confirmation onclick confirmation event

I am trying to write my own method that calls the BootstrapDialog and creates a confirmation popup. If the user selects "confirm" then the method will return true and continue to call the jsf action. ...

4 answers

Disable sorting on last column when using jQuery DataTables

I'm using jQuery DataTables in a project and I would like to know how to disable sorting for the last column. I want to implement this site-wide. Right now I have the following code: <!-- jQuery ...

4 answers | 10 mins ago by Psyche on Stack Overflow stackoverflow.com
0 answers

jQuery - Uncaught TypeError: Object [object Object] has no method 'geocomplete'

I am getting exception as Uncaught TypeError: Object [object Object] has no method 'geocomplete' whenever i try to include instantclick.js on to the page. The page has one autocomplete box to ...

1 answer

Populate a dynamic dropdown based on value inserted in the text-box

Please someone help, I am really going to be crazy!. I have a PHP form with some questions and one of the question is "Which are your favourite movies?" for which I used jQuery auto-complete feature ...

3 answers

Writing Conditional Drop Downs to MySQL

Hopefully this isn't too confusing.. I have a conditional form that has the user select a category, based on that category they'll need to choose from that category's sub categories. This works fine. ...

1 answer

Jquery accordion slow loading on value binding

I have a jquery accordion that takes a long time to collapse when the page loads. I know why this is, as I have many muiltselect listboxes inside this accordion which some contain 2000+ values. so ...

0 answers

jquery-mobile Panel passing Value to Ajax

jQuery-mobile gurus!; this is my first attempt to use jquery-mobile and I am trying to pass a value that is stored in the id of the li tag generated by aJax: The li tag is generated for the Panel ...

1 answer

Disable scroll event on browser resize

So I have a basic script that applies a fixed class to a div (.filter-target) when the user scrolls past a certain point of the page. What I would like to know is how I can disable the scroll event if ...

1 answer

javascript/jQuery plugin for cropping images with negative crop boundaries

I have a problem similar to this one, but in different technology: How can I crop an image with negative crop-boundaries in Java? I need a plugin which is able to crop an image with area partially ...

0 answers

Grails Auto-Complete for Form.gsp

I want to implement auto-complete to the majority of fields that I have on my form to reduce the users time spent inputting values. I've looked around for a simple step-by-step guide for using JQuery ...

0 answers

jPushMenu with sticky sidebar

I'm developing a portfolio website that has a jPushMenu on the left but also includes a sticky sidebar in the content. The push menu can't "push" my sidebar because its set to position: fixed; in my ...

0 answers

Cycle hover on mouseout

I was wondering if someone knows how the Cycle plugin works. jQuery(function($){ $(".slides").cycle({ fx: 'fade', speed: 450, timeout: 5, startingSlide: 0, ...

0 answers

Perl and jQuery to select elements from multiselect dropdown

I have a multiselect dropdown which has 8 colors in a hash %all_colors: my %all_colors = ( 1 => 'Red', 2 => 'Yellow', 3 => 'Orange', 4 => 'Blue', 5 => 'Black', ...

2 answers

Adjust Width of Dynamically added Divs

![enter image description here][1]![My Image][2] HTML <div id ="data"> <div>DIV1</div> </div> Jquery $(function(){ $("#button").click(function(){ ...

0 answers

Google map showing only states and cities of USA

Peace be upon you all I have a simple question. I want to embed a Google map in my website in which it only shows USA map without allowing users to zoom out from USA map to somewhere else. Most ...

1 answer

Difficulty attaching event handler to dynamically generated modal window elements

This question is an ongoing learning / discovery of these three questions. This issue for me started here: First Post Second Post Now this post is regarding @StephenMuecke post about attaching the ...

12 answers

Accessing nested JavaScript objects with string key

I have a data structure like this : var someObject = { 'part1' : { 'name': 'Part 1', 'size': '20', 'qty' : '50' }, 'part2' : { 'name': 'Part 2', ...

12 answers | 17 mins ago by Komaruloh on Stack Overflow stackoverflow.com
1 answer

progress callback always shows 100% upload in jquery-file-upload plugin

I want to implement a progress bar for the blueimp jquery-file-upload plugin but the progress callback is only fired once immediately after the upload begins and and data.loaded == data.total. ...

15 30 50 per page
1 2 3