jQuery is a popular cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions by minimizing the discrepancies across browsers and providing an easy-to-use API.

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

0
votes
0answers
4 views

Added Foundation 5 to Laravel Project now custom.modernizr.js and jquery.js aren't loading

When I load a page in my Laravel Project my jQuery does not work. When I checked the network tab of my inspector I saw that custom.mmodernizr.js and jquery.js have "404 Not Found" despite the files ...
0
votes
0answers
10 views

How to force hardware acceleration in JQuery animations?

$("#touchmenuwrap").hide(); $("#touchmenubutton").click(function(){ $("#touchmenuwrap").slideToggle(200); }); How can I hardware accelerate this slideToggle and prevent flickering on mobile ...
0
votes
1answer
7 views

jQuery append DM event no longer works

I appreciate that this questino has been asked before, I have trawled the answers on StackOverFlow but none of the solutions work in my case. Simple setup: I have a row of boxes, when you mouse over ...
0
votes
0answers
2 views

cloudinary with jcrop working on chrome but not firefox or safari

I have a rails 4 app using cloudinary, carrierwave and jcrop. the upload button and submit works (with javascript status report) on chrome but not on firefox or safari. in firefox console I get Empty ...
0
votes
0answers
4 views

how can i wait load control and then call a function jquery

Hello guys I have this question, in the code aspx I have a the next code: <asp:Image ID="imgCal" onclick="ShowModal()" runat="server" ImageUrl="/images/icon_calen.png"/> in the event onclick ...
0
votes
0answers
2 views

Display name of near by places of current location using google map api

I am making a web application in which user can search parking spaces.when user clicks on a particular parking space its map is appeared. I also want to find the places nearby that location and ...
0
votes
0answers
8 views

Jquery Mobile: Full-width buttons like navbar

Jquery mobile 1.4.2 I've been trying to use the navbar for providing menu buttons at the top of my jquery mobile page. It looks like this and is intended to navigate between pages. But I only ...
0
votes
0answers
17 views

How can I have the title of a webpage change when it is refreshed?

I was wondering if there is a simple way of having the title of a webpage change between some chosen presets stored as a list somewhere each time the page is loaded/refreshed? For example Wowhead ...
0
votes
0answers
14 views

How to calculate the Offset of thumb images div in a imageSlider

I want to calculate the offset of the image slider, so when I click the "Next" or "Previous" and the moment the last or first image shows the "Next" and "Previous" links should disable accordingly. ...
0
votes
0answers
13 views

navigating through <td> using jquery

Created the fiddle with the sample code here @ http://jsfiddle.net/DgPv6/2/ I have a table with 2 <td>s, In the first I have titles and in the second I have corresponding items related, first ...
0
votes
1answer
37 views

Javascript Code works in jsfiddle and but not in the Browser

I have tried searching similar problems but have not been able to find the reason why my code works in jfiddle but not in a browser. I have also tried making a copy of my code from jfiddle to another ...
0
votes
0answers
12 views

scroll event doesn't fire after apply pinterest layout style?

After looking around i found a good tutorial how to apply Pinterest layout style, tutorial link more than 4 hours styling it and modifying it to fit my layout, after all this work i copied my html ...
0
votes
0answers
11 views

Pass PHP Variable from jQuery Mobile Listview to Dialog

Either having major blonde moment or no idea what I'm doing, (prob both)...but I need help with how to pass a variable from my jquery list to my dialog. My list is showing as I desire in jquery ...
0
votes
0answers
3 views

Using devbridge autocomplete and wunderground autocomplete API

I'm attempting to use the devbridge jquery autocomplete lib to pull wunderground.com's autocomplete API, and I keep getting held up. Whether I attach a cb to the serviceUrl or not, it can't parse the ...
0
votes
5answers
51 views

How is “this” used in this JS code

I've been reading quite a bit now, but I still haven't gotten a explanation that would make sense, from a noobs perspective. $(document).ready(function() { $("#slideshow").css("overflow", ...
0
votes
0answers
6 views

How to drag table cells into other table where there is no predefined empty row for keeping the dragged cell

I've posted multiple similar kind of questions from last 2-3 days. Sorry for it. Basically, I haven't found any proper solution for it. That's why, I've changed my question, tried to make it simple, ...
-1
votes
2answers
15 views

Newly inserted HTML not acting with JS event handling with Rails Nested Form

I am using nested_forms with Rails 4 along with turbo-links + jQuery plugin to make it restart on page loads. Once I add a nested field with markup that should triggers events, it fails to do some, ...
0
votes
1answer
14 views

use data attribute in animate function

I want to use the data attribute value in the jquery animate function in order to set speed of the animation depending on the data attribute value. html <li class="layer" ...
0
votes
1answer
16 views

jquery Cannot read property 'done' of undefined - avoid this

I have a function which returns results (or not). The problem is when it does not return any value I get in the console the message cannot read property 'done' of undefined Which is true and I ...
-3
votes
3answers
27 views

How to add jquery and javascript to the same file?

I don't know if this is possible. This is how my js file will look like: $(document).ready(function(){ $("li#dropdown").on('click', function(e) { $('#toggleList').slideToggle(); ...
0
votes
0answers
9 views

slideToggle slides up then down when called from a function

I have a button to toggle a div. The function is: function toggleMiniCart() { $('#mini_cart_more').click( function(e) { e.preventDefault(); e.stopPropagation(); ...
0
votes
3answers
36 views

JQuery - Is there any unclick event?

I have one principal checkbox to check automatically all the checkboxes from my html table. And i used this code to do it: $('.checkallsave').click( function() { ...
-1
votes
2answers
26 views

Why ng-click function is executed twice?

I include a view with the ng-include functionnality: <footer ng-include="view" ng-controller="searchPresenter" class="searchW"> </footer> My controller defines: $scope.view = ...
0
votes
1answer
10 views

cash box status in browsers (jquery)

I have a question about the use of cash in jquery: A simple code like this: <html> <head> <script src="lib/jquery-1.11.0.min.js"></script> <script> ...
0
votes
0answers
5 views

JCarousel with Automatic Smooth Scrolling

I'm looking for a carousel (with buttons) that also automatically smooth scrolls from left to right. I couldn't get the normal jCarousel to work with smooth scrolling so I decided to try jCarousel ...
0
votes
0answers
22 views

Javscript to automatically trancate 8 digits with two decimals

I have textbox of Maxlength(11) allowing 8 digits,1 decimal point and 2 precision. Case1:If the user keys in 11 digits,it has consider first 8 digits,adding a decimal point,next 2 as precision. ...
-1
votes
0answers
17 views

How to scale whole html form

How can I scale whole form html(with all inputs, divs)?. I mean something like JQuery effect resize, but all elements, not one. Does anyone have any ideas how to do this?
-2
votes
1answer
26 views

Add an event listener in jQuery

I want to write the following js code as jQuery: JS document.getElementById("aa").addEventListener("paste", pasteHandler); function pasteHandler(e){.....} I tried something like that, but it ...
0
votes
0answers
9 views

How to implement 'Please Wait !!!' screen while doing file upload - JSF 1.2

I am trying to implement a file upload functionality. One of the requirement is to display a 'Please Wait!!!' message to the user while the upload is going on. My project currently uses JSF 1.2, ...
0
votes
0answers
6 views

How to Prevent Sub List to Slide Down and Up Parent List

Can you please take a look at This Demo and let me know how I can stop /prevent the sub menus to slide up the list. If you click the Two or Three you can see there are sub menus as Two _ 1 .. Two _ 4 ...
-1
votes
2answers
53 views

How to display only certain text within a div? [on hold]

I'm using blogger to create posts and the post layout is as follows: Post Title Labels Content Author When creating a post with multiple labels they will show like this for ...
0
votes
0answers
4 views

isotope / masonry Horizontal to display only 2 rows of images and fill screen

I'm working on my photo-portfolio with isotope and masonry Horizontal. I want to achieve following: 1) lets say I have 30 images in total and they are both portrait and landscape format 2) ...
0
votes
0answers
9 views

mCustomScrollbar won't scroll to the very bottom

I'm using this jQuery plugin called mCustomScrollbar and it works fine but I can't make it scroll to the page bottom completely. Here's my code, hope you can help me. Thanks. ...
0
votes
3answers
24 views

Add delay for addClass

By click I move an element outside of the browser window. After this animation I'd like to add a class to this element, but unfortunately the new class is already added as I click to the moving icon. ...
0
votes
3answers
46 views

javascript confirm() not working

This is the code that is not working... It just deletes the form without first prompting. $(".delete").click(function () { if(confirm('You honestly want to delete that student?')){ return ...
0
votes
1answer
13 views

Form action not working which is generated by JQuery

I have a page, within that I am populating a form by clicking on the button using JQuery. In that form I have two textboxes and a submit button, but this form is not able to submit when I click on ...
0
votes
0answers
12 views

jQuery scrollTop in $(document).ready positions, then jumps to back to top

In my MVC application I am trying to make a page load and position to a specific row in a table on a page. It doesn't work, so I debugged. Stepping through the source in the browser (Chrome), I see ...
0
votes
0answers
9 views

How to append selected image from file input to background of a div in Internet Explorer and Safari

Im actually using PHP to process the image and then display it on the div, but it just worries me that these can't be done on client site to just preview before fiddling with the server site code. ...
0
votes
1answer
29 views

Why can’t I trigger this keydown event with jQuery?

I wanted to apply my JavaScript algorithm to solve 2048 game. http://gabrielecirulli.github.io/2048/ To do this first I wanted to add the possibility to simulate keydown events (left arrow, right, ...
0
votes
0answers
13 views

Jquery Mobile Panel (open on wide screen)

I am trying to make a dynamic panel. My code partially works. The panel stays open for the first time when page loads, on screens wider than 768px. It does not work when I click on link2 from the ...
0
votes
3answers
30 views

My site doesn't detect viewport

I have a site called Healthot. It's a responsive site, with the meta viewport tags and the media queries. The problem is that the site only adapts when I resize Chrome's window of my Mac. When i enter ...
-1
votes
0answers
15 views

hide spinner after the table is completely binded

I have a large tables that takes unequal times to load.Spinner is shown when tables being loaded.I am hiding the spinner when there is any change in the table using "DOMSubtreeModidified".. as a ...
-1
votes
2answers
42 views

Jquery show div after hiding it onclick after 5 seconds

Hey so I have a div that I want to replaceWith some text after clicking on the button and then re-show the same hidden text after 5 seconds. I am stuck on the part where I need to re-show it. I hid ...
-5
votes
0answers
23 views

Suggest Free IDE for HTML Template Designing [on hold]

I have been trying to find it over web but couldn't conclude successfully.... I am trying to design HTML/HTML5 website template for retail purpose & looking for standard free/open source IDE for ...
0
votes
5answers
32 views

appending a div jquery

I'm trying to append a new #questionfield to the existing div #questionfield when the user clicks the button with id #add. <div id="questionfield"> <div data-role="fieldcontain" ...
0
votes
1answer
19 views

Jump to next/previous named anchor using left/right arrow keys

I made a gallery (using ZenPhoto) and I have all images from one album load in one page. Each image has a named anchor: <a href="image4_full.jpg" title="image4" name="image4"> <img ...
0
votes
1answer
4 views

MediaElement.js: Trigger event, if some specific audio file has ended

Referring to MediaElement.js. How to trigger an event (call a function), if some specific audio file has ended? var myAudioFiles = ['audioFile1.wav', 'audioFile2.wav', 'audioFile3.wav']; var myPlayer ...
1
vote
1answer
12 views

Submitting complex JSON to MVC controller. How do I name nested objects?

I have a controller set up that's expecting this object to be posted to it: public class PrintJob { public string BarTenderFile { get; set; } public string PrinterName { get; set; } ...
-1
votes
1answer
15 views

Access attribute outside of the current binding context in knockout

Here I want to print the value of the user name in the top of the list,List values display as I expected, but username does not show, http://jsfiddle.net/Hpyca/16/ Html <div data-role="page" ...
0
votes
2answers
35 views

How to apply jQuery plugin to multiple divs on same page?

I'm working on a jQuery plugin and I need it to work on multiple divs on one page. Basically, I have two menus and when a user clicks on one menu item the background color changes. Right now, the ...