Tagged questions

76 results found

Active state disables link action.June 19, 2016

Hi all, I have a function that sorts property listings, however when I add my active states through jQuery I loose the functionality (the page doesn't change or do anything). I assume I have to have a

14

views

0

votes

4

answers

Would like some clarification on using $(this) (code example provided)June 20, 2016

Hello, Here's a funky demo page . Here's my funky code: $(document).ready(function() { var $this = $(this), $dog = $('#dog'), billy = function(num) { console.log('(billy ' + num + ')', 'this:

7

views

0

votes

4

answers

Node created with the "$" function is already cached?June 20, 2016

Hey! When you create onde DOM node with the "$" function, it's possible to manipulate and define some properties before the DOM insertion, like one pure Javascript node creation. But, when the node i

12

views

0

votes

4

answers

Sliding Larger Image Under Selected ThumbnailJune 20, 2016

I am having trouble using the .slidetoggle function, the actual sliding works, but not in relation to the entire page. My webpage is organized on a set of thumbnails in a grid organization, when you

20

views

0

votes

3

answers

Question concerning variables in jQueryJune 21, 2016

Hi, I use 'div id' as a variable for some code I'm working on. The idea is that depending on what 'div' the user clicks on the variable will change as according to the 'div id', as below: $(document

21

views

0

votes

2

answers

Defining selector as global variableJune 22, 2016

Hello, I'm trying to define a selector as a global variable and it keeps coming back undefined. I tried creating a namespace for it but had no luck. I would like to be able to reference the sliderRan

16

views

0

votes

1

answers

Trying to sent a var (myvar) from a hyperlink to jquery doesnt work in firefox only in IE. .live bug?June 23, 2016

Hello all, I'm trying to sent a var to my jquery script when i click on a hyperlink inside the search.php. I had discovered that this will only work when using .live, but it wont work with firefox,

17

views

0

votes

4

answers

How to call my var?June 23, 2016

Hello, I have a question. I have a javascript file, see below: $(function() { var currentPage = 1; $('#slider .buttons span').live('click', function() { var timeout = setTimeout(function() {$("im

14

views

0

votes

3

answers

While loop bug? need helpJune 24, 2016

I want the variable num to be less than 10 however in the while loop it only works if I write while(num > 10); isn't this while num is greater here is the code var num = 0; $(function () { $("#su

13

views

0

votes

1

answers

Listing multiple objects/variables?June 24, 2016

Hey, I have a quick question for all you clever clogs :) I was wondering how you would list multiple variables after a equal ==? Example.... if ( pathname == schoolinformation, chaplainchatter) $

31

views

0

votes

3

answers