jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.

learn more… | top users | synonyms (3) | jquery jobs

0
votes
0answers
3 views

Bootstrap affix not working - passing functions to set offset values dynamically

On the following web page: http://www.bestcastlesintown.co.uk/RC/ I am trying to get affix working in Bootstrap 3. I am passing functions to to set the offset values dynamically with little success. ...
0
votes
0answers
7 views

A simple collapsable navigation with Bootstrap 3

I thought this would be pretty simple, but I've not yet managed to get it to work. The following example looks just like what I want, but it pertains to Bootstrap 2.3. I am having trouble getting it ...
0
votes
0answers
3 views

kendo grid custom column menu

I have a Kendo grid using the ASP.NET MVC wrappers with sorting, filtering and column menu enabled. As I'm sure most of you know, there are two clickable actions in each column header: Clicking the ...
0
votes
0answers
8 views

How to reload a file via require.js triggered from the browsers js console

Having a text file (underscore templates) loaded by require.js on initial app start: define(['text!templates/template.html'], function(Template){ ... }; When i am now making changes to this file ...
0
votes
2answers
10 views

Get the load time between click and page load

I'm using $.ajax() to load the content from a file on the same server and I want to calculate how long time it takes for the content to load. For example, the visitor clicks on a link and a timer ...
0
votes
0answers
4 views

Backbone Marionette Layout View Not working correctly

I'm learning backbone via backbone.marionette I'm having difficulty getting my layout to work. Layout shows but CampaginView does not show it's html into the region. Maybe I'm misunderstanding could ...
0
votes
1answer
16 views

javascript: passing a string from variable to a json object

How can i do this? objPrefix = btn.attr('data-objprefix'); //<button data-objPrefix="foo"> var sendData = {objPrefix : {"bar":"ccccc"}}; ANd I want the output to be {"foo" : ...
0
votes
0answers
8 views

save url content in php variable and give out in php file without reload

I have a page with text and images, which I want to change (edit text, delete images) dynamically and transfer the page content to another php file via a variable. My problem: When I delete text and ...
2
votes
0answers
4 views

Angular UI-Select Dropdown Value Issue After Angular 1.2 Upgrade

We just upgraded Angular from 1.2 RC 2 to 1.2 final and upgraded select2.js from 3.4.0 to 3.4.3.1. Now I'm noticing some dropdowns not displaying their values correctly. The dropdown value is ...
0
votes
0answers
7 views

Number as a default jquery plugin option

I have a little problem. I'v set up some jquery plugin default settings: defaults = { insdElmnts: 'img', cursorDistance : 10 }; function plugin (options) { this.settings = $.extend({}, ...
0
votes
0answers
3 views

Waypoints.js breaking when using adjustable div

<div id="open_1"> <!--Anchor to trigger header to animate in--> <section class="ha-waypoint" data-animate-down="ha-header-subshow" ...
0
votes
1answer
13 views

Menu Open & Close on menu button - Jquery

I'm trying to create a slide out menu, that open an closes on the same a tag. I've put something together but, it runs through the whole animation instead of pausing after opening. HTML ...
1
vote
0answers
9 views

getJSON div change works in console but not in webpage

So here's my problem. I'm trying to pull a specific element out of a webpage, and display that information in a product div. This is the code I am using currently. <div ...
0
votes
1answer
26 views

Dynamically add class when sections hit top of page

I am developing a website and would like to add some jQuery functionality to a page. Basically, the page has a sidebar with a menu (showing all sections of this one page). I have added the ...
0
votes
1answer
33 views

JQuery '.load()' not working

I am trying to use the jQuery .load() function and I can't get it to work. I am working on a Wordpress plugin, and I'm trying to set an attribute on the options, based on a parameter that is passed in ...

15 30 50 per page