Probably an async issue - any code after the $.getJSON call (but not in the
callback) will get executed before the async call returns. Any code that is
dependent on this.Settings being set with the returned data must be within
the callback function.
Also "this" is probably not what you are expect
Maybe try closing the option tag?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of rob
Sent: Thursday, December 10, 2009 12:54 PM
To: jQuery (English)
Subject: [jQuery] Selectors and Internet Explorer
I'm having some problem w
One little trick I've used is to use absolute positioning to move the image
way off the page, like left = -5000, then display the image, get the
dimensions, then hide it again. This way your layout won't be disturbed.
-- Josh
From: Michael Geary [mailto:m...@mg.to]
Sent: Thursday, N
Hi Phaedra,
Probably, most people don't pay much attention to memory leakage when they
are creating applications, or they don't test on IE.
A quick scan of the jQuery bug tracker shows a few bug reports that relate
to the leakage in IE. It doesn't look like they've been resolved.
You might wan
Any chance of doing what you need to do on the server, rather than the
client?
Are you stuck with the naming convention you're using, or can you name the
spans a little differently or give them different class names to allow for
better selection criteria?
Given your current situation you'd have
Rick - the load method is asynchronous, so you have to get the html from
#favoritesHold in a callback from the load method. Otherwise, the
subsequent code after the load method is running before the html is returned
from the server.
-- Josh
-Original Message-
From: jquery-en@googlegroup
Rick: I think in your mouseout binding, you also need to unbind the
mousemove event handler from the document. I think would look like this:
$('.clickable').mouseout(function() {
$().unbind( 'mousemove' );
$('div.toolTip').remove();
});
-- Josh
From:
I think that plugin is broken. I tried it a couple of weeks back and got
the same error, tried to debug it for a while, and gave up.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Massimiliano Marini
Sent: Tuesday, August 0
Try upgrading to jQuery 1.3.2 and BlockUI 2.0. Your versions are somewhat
outdated.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of JQUser
Sent: Wednesday, July 15, 2009 10:08 AM
To: jQuery (English)
Subject: [jQuery] BlockU
You can't. You'll have to create a global variable outside document.ready:
var myFuncs = {};
$(document).ready(function() {
myFuncs.foo = function() {
// etc.
};
});
other .js file:
myFuncs.foo();
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [
Would there be a racing issue with html() though? I believe that is not an
asynchronous method, so it would have to complete before the next chained
method.
-- Josh
- Original Message -
From: "hedgomatic"
To: "jQuery (English)"
Sent: Saturday, July 04, 2009 9:34 AM
Subject: [jQ
The LiveQuery plugin allows you to do this. Do a search for LiveQuery in
the jQuery plugins area.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Khai
Sent: Tuesday, June 30, 2009 5:34 PM
To: jQuery (English)
Subject: [jQuer
It doesn't match on partials unless you use special selector symbols.
The reason your element is matched is because the class "myDiv" on your div
matches the $(".myDiv") part of your selector. It is not because of the
partial match. When you do a comma delimited list as a selector, an element
Try clicking twice on a header. The first click won't appear to do anything
if the table is already sorted.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of bayadmin
Sent: Wednesday, May 27, 2009 1:30 PM
To: jQuery (English)
Su
I would very highly recommend it. It's written by the creator of jQuery
John Resig.
Is this Michael Finney from Seven on Your Side?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of finneycanhelp
Sent: Friday, May 22, 2009 8:
Andy,
Dunno if you can do thatcurious though, could you just do an ajax call
that gives you the "extra stuff"? It won't fire if they don't have
javascript present, so it would do pretty much the same thing.
-- Josh
_
From: jquery-en@googlegroups
Events are not automatically bound to new elements added to the dom.
However if you are using jquery 1.3+ you can do this to achieve dynamic
binding:
$("tr").live("dblclick",function(event) {
// etc.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegro
er and it
is serving correctly.
Like I said I am getting a proper response back and it is populating
the menu, just not filtering on the params I am telling it to filter
on.
On May 14, 1:08 pm, "Josh Nathanson" wrote:
> I would say then that it's probably your server code. Maybe
query...@googlegroups.com] On
Behalf Of bradrice
Sent: Thursday, May 14, 2009 10:02 AM
To: jQuery (English)
Subject: [jQuery] Re: jquery.getJSON params not filtering
OK, I changed it but it still returns everything. It isn't filtering.
Thanks for the suggestion.
On May 14, 12:54 pm, "Josh Na
I think your params should look like this:
{ "category":fundType }
In your code, you are passing a string rather than a javascript object
literal.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of bradrice
Sent: Thursday, May
ively simple task?
Thanks!!
Steve
On May 6, 7:13 pm, "Josh Nathanson" wrote:
> OK it looks like you have a few things to sort out here.
>
> One thing is that you have to remember that load is asynchronous. So when
> that is fired the rest of your code will cont
OK it looks like you have a few things to sort out here.
One thing is that you have to remember that load is asynchronous. So when
that is fired the rest of your code will continue along its merry way. In
other words the loop will keep looping independent of the callback function
firing. My hu
When you say you get undefined outside the load function, do you mean
outside $(document).ready, or inside $(document).ready?
They should not be accessible outside document.ready, because of the closure
caused by passing the anonymous function to document.ready, and because you
use var to declare
Do a search for the plugin "HoverIntent", I think is what you're looking
for.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of geocalleo
Sent: Monday, April 20, 2009 3:33 PM
To: jQuery (English)
Subject: [jQuery] delaying an a
You could do something like:
// use a delimiter that makes sense for your values
Then split the rel:
var arr = this.rel.split('_'), val1 = arr[0], val2 = arr[1];
removeDept( val1, val2 );
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]
I bet it's the css reset. There's some funky business with the line-height
on the body tag. Did you try it without that css reset and see if it gets
better results?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of chief
Sent
>> First, I *assume* these two statements are identical in performance:
>> $("p", $("#foo")) == $("p", "#foo")
No -- the first one calls jQuery three times, the second one twice. Big
difference.
Now, I'm not sure about if it's faster to use find() than the context
selector. I would think under
I think this might work, give it a try:
Obj.sortby = Obj.sortby || 'time';
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of Alexandre Plennevaux
Sent: Wednesday, February 18, 2009 9:07 AM
To: Jquery-en
Subject: [jQuery] defaul
x27;s blog - I really appreciate it.
Do you know if this works w/ the current version of jQuery, and the current
version of AjaxCFC?
Thanks again.
nb
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Josh Nathanson
Sent: Friday, February
You don't need that open parenthesis after 'click':
$('.cancel').livequery('click', function() {
...etc.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Rick Faircloth
Sent: Friday, February 13, 2009 4:38 PM
To: jquery-en@goo
Do a search for "jquery coldfusion ajax" on Google, you'll find some good
stuff.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Neil Bailey
Sent: Friday, February 13, 2009 3:05 PM
To: jquery-en@googlegroups.com
Subject: [jQu
foo[fooProp] // returns "barVal"
Is that what you mean?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Nic
Sent: Friday, February 13, 2009 4:06 PM
To: jQuery (English)
Subject: [jQuery] Accessing a JSON property from an unk
This should work:
$('#myTextarea').unbind(); // unbinds all handlers
Then when you want to bind it again:
$('#myTextarea').expandable();
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Rick Faircloth
Sent: Friday, February
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Josh Nathanson
Sent: Friday, February 06, 2009 12:10 PM
To: jquery-en@googlegroups.com
Subject:[jQuery] Re: jqURL plugin throwing JS errors
Andy - that's my plugin - do you have a link I could look at
Andy - that's my plugin - do you have a link I could look at?
-- Josh
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Andy Matthews
Sent: Friday, February 06, 2009 9:50 AM
To: jquery-en@googlegroups.com
Subject: [jQ
Yup down for me too.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Rick Faircloth
Sent: Wednesday, January 28, 2009 12:46 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] OT: CF-Talk Down?
Hi, guys...
Pardon the OT, but
Oh, I see another problem. You have "stagePlacement" values in your
stageCss option. StageCss can only have valid CSS attributes, so this will
probably break IE.
StagePlacement is a separate option, so your options should look like this:
$("#d02").magnify({
lensWidth: 27,
Hi Peter,
Josh here, the author of the plugin. Not sure why it's not working for you,
but one thing I would recommend:
- use a class attribute on all your links that you want to bind to the
plugin - that way you can just call the plugin once and all your links will
be bound:
etc.
Then one bi
he href because
of
ColdFusion need to have two. Is that the problem, or is there another
solution?
Update
That's the current code. Suggestions?
Thanks,
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Josh
Rick - I think you want $(this).parent().hide() rather than prev, and
$(this).parent().next() rather than next(). Prev and next look at the
sibling level.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Rick Faircloth
Sent: T
] On
Behalf Of yellow1912
Sent: Friday, January 09, 2009 2:16 PM
To: jQuery (English)
Subject: [jQuery] Re: How to dynamically load/add inline javascript?
I see. Thanks Josh. What if I dynamically insert the code into the
head area, would that has the same effect?
Regards
Raine
On Jan 9, 4:05 pm
I think you have to strip the tags off before you run eval(). I
just tried a little test using firebug:
Eval("