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
Maybe try closing the option tag?
option class=parentMenu/option
-- 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
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,
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
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:
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
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
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]
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 hedgoma...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent:
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:
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)
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
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:
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
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
...@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 Nathanson
.
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 joshnathan...@gmail.com wrote:
I would say then that it's probably your server code. Maybe run some
debugging
On May 6, 7:13 pm, Josh Nathanson joshnathan...@gmail.com 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 continue along its merry way. In
other words
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
where I try to access the new length of TableColName[i] I get that
this variable is undefined.
Actually while debugging, I find that variable i defined in the loop
outside the load, is NOT available inside the load function.
It is all very confusing.
:-(
On May 6, 6:10 pm, Josh Nathanson
You could do something like:
a rel=val1_val2 // 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
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 the hood
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
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]
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
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
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:
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:
- 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 13, 2009 8
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:
: 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?
-- Josh
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,
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:
a
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,
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:
of
ColdFusion need to have two. Is that the problem, or is there another
solution?
a class=update-link href='##'Update/a
That's the current code. Suggestions?
Thanks,
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Josh
Rick - one shortcut you can do in your selector is:
$('input:text').each(function...
That might get you a better response from the DOM. I think the problem you
are seeing might be because of your single quotes around text:
$('input[type=text]') not $(inp...@type='text']).
-- Josh
Yes, you should be able to fire the other requests. Maybe you could post a
little code.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of hotdog...@gmail.com
Sent: Friday, December 12, 2008 10:48 AM
To: jQuery (English)
, 2008 3:18 PM
To: jQuery (English)
Subject: [jQuery] Re: Problems with more than one AJAX request at a time
On Dec 12, 1:02 pm, Josh Nathanson joshnathan...@gmail.com wrote:
Yes, you should be able to fire the other requests. Maybe you could post
a
little code.
Ah, thank you for your quick
Maybe try removing the quotes around .9 - it is probably looking for a
number rather than a string. I could see this borking IE.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Eric
Sent: Thursday, December 11, 2008 11:47 AM
There are some issues in FF with cursors and absolute positioned divs.
Might've been fixed in FF3. Another one is the cursor won't show up in a
text field within an absolute positioned div that is in a layer above the
document body. If you do a google search on firebox cursor bug or the
like
Andrew - I got the link you sent and indeed, it does not seem to work on ie6
or ie7. However, I couldn't see your code because it was compressed. Have
you been able to get it working?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
You have to do it that way because the context has changed. Thus this in
the second anonymous function will refer to something different than in the
first. A lot of people use the convention var self = this or something
similar.
Also within the anonymous function you can do this:
Andrew -- I just checked the demo page on IE7 and it seems to work fine.
Can you post your code or a test page somewhere I can look at?
-- Josh (plugin author)
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew
Sent: Monday, December 01,
No need to reinvent the wheel, I'd use the BlockUI plugin in conjunction
with whatever you're working on.
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of coughlinsmyalias
Sent: Thursday, November 13, 2008 5:15 PM
To: jQuery (English)
An important aspect of this is to focus on what happens when you reload the
page or navigate away. If the memory drops back down to its original state,
you have helped the end user by not leaving them a legacy of used memory.
It's much more difficult to try and keep memory from climbing in
. Since it's published daily, the archives are approaching 3000
strips. Anywya, I wanted a way to quickly read through back strips, and so
I
wrote this little viewer.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent
Looks good, I'm always on the lookout for curved corners plugins.
-- Josh
- Original Message -
From: weepy [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, October 30, 2008 6:07 AM
Subject: [jQuery] Cornerz 0.5
I released Cornerz v0.5 today.
Andy - window.onload is called only after all images are loaded, so you can
do this:
$(window).load(function() {
$(img).each(function() {
alert( this.offsetWidth500 );
});
});
-- Josh
- Original Message -
From: Andy Matthews [EMAIL PROTECTED]
To: jQuery (English)
...
That worked, but it's taking longer than I'd like, and it's not
really consistent. I'll just go another route. Thanks for the input
guys.
On Oct 29, 11:44 am, Josh Nathanson [EMAIL PROTECTED] wrote:
Andy - window.onload is called only after all images are loaded, so you
can
do
jQuery makes it simpler:
$(#msg_button).bind(click, show_msg);
Or, if you are not reusing the function:
$(#msg_button).click( function() {
alert('Nice to show you this');
});
-- Josh
- Original Message -
From: Jquery-Newbe [EMAIL PROTECTED]
To: jQuery (English)
You want this:
$(# + fieldset_id);
Don't feel bad, that trips up a lot of people at first (myself included).
Basically the selector is just a string, so you can use the usual JS string
methods to get what you need.
-- Josh
- Original Message -
From: fredriley [EMAIL PROTECTED]
Thanks a bunch, Mike. Hopefully, blockUI's author will discover this
fix eventually.
It shouldn't take long, Mike *is* the author.
-- Josh
on
scroll as well as on resize. I tried using this approach for all
browsers but Firefox was having none of it.
JR
On Oct 20, 4:09 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
This happens where there is some padding or margin on the body. If you
set
them to 0 via css it should take care
If you already have a jQuery object you can do this:
jqObj.is(:visible); // returns boolean
-- Josh
- Original Message -
From: Jay [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, October 16, 2008 2:43 PM
Subject: [jQuery] Re: how to detect current
Hey Sliver,
It looks like you are expecting jQuery to work like Prototype does...I'm not
too familiar with Prototype, but my understanding is that it has functions
which assist with the inheritance issues in Javascript.
jQuery is more about easily selecting DOM elements and doing stuff with
$(#nav div).hover(function(){alert($
(this).next('span').text());},function(){});
try this:
alert($(span:first, this).text());
The span you want is actually a child of the div, while next('span') looks
for a sibling span.
-- Josh
- Original Message -
From: bnlps [EMAIL
That looks like the proper syntax to get your desired selector. Are you
getting an error or unexpected results?
-- Josh
- Original Message -
From: Shadi Almosri [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Monday, October 13, 2008 9:32 AM
Subject:
I think when you unbind it, you should put the back of your hand to your
forehead and say, Oh woe is me!
Sorry, it's Friday.
- Original Message -
From: me-and-jQuery [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Friday, October 10, 2008 2:23 PM
Subject:
Yeah, what a great idea and incredible job by Remy.
-- Josh
- Original Message -
From: pixeline
To: Jquery-en
Sent: Thursday, October 09, 2008 11:57 AM
Subject: [jQuery] An Interesting Twist on a Pastebin
guys, we should definitely use this online tool to ask questions.
this referenced in the success callback will refer to the jQuery object
when you do an ajax call.
You might want to put the ajax call within another function that can also
receive information about the triggering element:
doAjax: function( trigger ) {
jQuery.ajax({
//
isNaN(r) logic.
Thanks,
-Wayne
On Oct 8, 12:36 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
this referenced in the success callback will refer to the jQuery object
when you do an ajax call.
You might want to put the ajax call within another function that can also
receive information about
@googlegroups.com
Sent: Wednesday, October 08, 2008 2:18 PM
Subject: [jQuery] Re: AJAX Success Callback referring to $(this)
Right, but that trigger doesn't work in the context of the anonymous
function. Unless, I'm missing something you changed.
-Wayne
On Oct 8, 3:43 pm, Josh Nathanson [EMAIL
Yeah, really nicely done...I'll definitely use that if I ever have need for it.
-- Josh
- Original Message -
From: Jack Killpatrick
To: jquery-en@googlegroups.com
Sent: Thursday, October 02, 2008 12:52 PM
Subject: [jQuery] ANNOUNCE: jQuery listnav plugin
Hi All,
Today
WOW Matt, that looks dynamite.
Some cool new plugins coming out!
-- Josh
- Original Message -
From: Matt Kruse [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, October 02, 2008 3:50 PM
Subject: [jQuery] NEW PLUGIN (beta): ContextMenu
I've been
Did you try my code? It should do what you describe.
-- Josh
- Original Message -
From: GARIL [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, October 01, 2008 1:12 PM
Subject: [jQuery] Re: form select...
Thank your for your answers but I don't
Give this a go:
$(option,#fruits).each(function() {
$(this).attr(selected, $(this).text() == 'Pineapple' );
});
-- Josh
- Original Message -
From: GARIL [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, October 01, 2008 12:38 PM
Subject:
You could use either this.checked or $(this).attr(checked).
this refers to the dom node, so if you want to use the attr method on
this you have to jQuery-ize it.
this.checked would be more performant, since you are not executing the
jQuery function in that case.
-- Josh
- Original
jqModal does have a callback for that, but it gets pretty ugly if you're
using the same modal window for different forms. Then you have to
re-configure the jqModal settings on each modal request.
What I've done is use a combination of the ajaxForm plugin and LiveQuery to
listen for modal
(English) jquery-en@googlegroups.com
Sent: Friday, September 12, 2008 3:29 PM
Subject: [jQuery] Re: How do I update my control after I submit data to my
database?
Thank you. I don't think it will be json though. What if it is not
json?
On Sep 12, 6:14 pm, Josh Nathanson [EMAIL PROTECTED] wrote
IE always caches the response, so you have to explicitly set cache=false in
your ajax call. You can either do that on your specific ajax call, or
globally via the $.ajaxSetup function. Consult the jQuery docs - Ajax
section for more information.
-- Josh
- Original Message -
You would do this in the callback function from the ajax call. One way
might be to have an empty div available on your page:
div id=username/div
Then the ajax callback, assuming you are returning json data:
function( data ) { $(#username).text( data.username ); }
-- Josh
- Original
Isn't that the same as this:
$(#ID1).trigger(change);
-- Josh
- Original Message -
From: Huub [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Monday, September 08, 2008 11:30 AM
Subject: [jQuery] Fire events programmatically
Sometimes it's needed to
Thanks Ben, that's really cool that you did that.
-- Josh
- Original Message -
From: Ben Sargent [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Friday, September 05, 2008 10:22 AM
Subject: [jQuery] Cappucino's FlickrDemo in 45 lines of jQuery
After
This should do it...
$(input:checkbox:not(#myid)).attr(checked,false);
-- Josh
- Original Message -
From: Brad [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, September 03, 2008 11:57 AM
Subject: [jQuery] Not selector help
I'm looking for the
You need to do this:
$(#div1, #div2).hide();
Both selectors go inside the quotes. Otherwise, you are passing 2 arguments
to jquery, and the second argument sets the context for the selector search.
-- Josh
- Original Message -
From: riegersn [EMAIL PROTECTED]
To: jQuery
Gregg, try $(document).ready instead of $('document').ready and see how that
works.
-I can't figure out how to make a call from the loading page into the
loaded page; everything I try it seems the script functions from the
loaded page are not known by the DOM.
Check this link:
timeout is actually how long the request will wait to complete before it
sends back a timeout error. You actually want setTimeout, like so. This
will wait five seconds before doing the ajax request.
var t = setTimeout( function() {
$.ajax({
type: GET,
Did I forget to mention I'm Coldfusion programmer? I this all
specifically for javascript programmers? Interesting stuff but no
mention of how to apply it. The demo doesn't even work correctly.
Larksys - there isn't really anything special about using jQuery along with
ColdFusion.
Colin, check out my Magnify plugin, it's not zooming but it does allow you
to see finer details of an image.
http://plugins.jquery.com/project/magnify
-- Josh
- Original Message -
From: Colin Guthrie [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Thursday, July 17, 2008
That is luscious. Great job Stephane.
-- Josh
- Original Message -
From: Rey Bango [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Monday, July 14, 2008 2:34 PM
Subject: [jQuery] PLUGIN: prettyPhoto v2.1.1 a jQuery lightbox clone
released
prettyPhoto v2.1.1 a jQuery
Check into the index() method.
-- Josh
- Original Message -
From: ml1 [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, July 15, 2008 8:57 AM
Subject: [jQuery] Finding position among siblings
Is there an efficient, cross browser jquery way to find a
Usually this indicates that somehow, you are rebinding the event handler to
the button on each ajax call. Each time you do a binding, it is additive --
there is nothing to check and see if the event handler is already bound.
Check your logic and make sure you are only binding the event
would I need to rebind the events?
Thanks!
On Jul 11, 12:38 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
Usually this indicates that somehow, you are rebinding the event handler
to
the button on each ajax call. Each time you do a binding, it is
additive --
there is nothing to check and see
Try this for the first one:
$('.equipment a.i-right1').not(':eq(0)').hide();
For the second one, check out the slice() method.
-- Josh
- Original Message -
From: JohneeM [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, July 08, 2008 10:00 AM
Subject:
Error: [Exception... 'Permission denied to call method
XMLHttpRequest.open' when calling method:
[nsIDOMEventListener::handleEvent]
Usually you get this error when you are trying to do an ajax call to a
different domain than the calling template is on. That's a no-no. There
are ways
It works because it's asynchronous. The $.get call is fired, and then the
script continues along its merry way, without waiting for the return of the
$.get call.
-- Josh
- Original Message -
From: wsw [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent:
Hmmm...that hasn't come up for me yet. Seems like the way you're doing it
would be the way to go for now.
Maybe in the next jQuery version they could add a key internalTrigger or
something like that to the event object when the trigger method is run.
-- Josh
- Original Message -
Would this work as well?
$(tr:not(:first):not(:last)).hover(function() { //etc.
Not as performant as the other ones, but expresses the intent clearly.
-- Josh
- Original Message -
From: Karl Swedberg [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Thursday, June 26, 2008
I think maybe you want element.is(textarea) (no colon)
Otherwise that part of the conditional will never fire.
-- Josh
- Original Message -
From: shapper [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, June 24, 2008 4:23 PM
Subject: [jQuery] Re:
Ferric - I believe (though I'm not totally sure) that .load uses a get
rather than a post. Try doing url.albumID rather than form.albumID in
your ColdFusion code and see how that works.
-- Josh
- Original Message -
From: ferric84 [EMAIL PROTECTED]
To: jQuery (English)
Your function is fine, however when you *call* the function removeItem,
you'll need to pass in two arguments -- otherwise obj will be undefined:
removeItem('myitem'); // obj is undefined
removeItem('myitem', myobject); // obj is defined
-- Josh
- Original Message -
From: Mark
..
With this it works:
a onclick=removeItem('something', this.parentNode);click/a
with this not (will give the freaking error):
a href=javascript:removeItem('something', this.parentNode);click/a
Now why is this not working with a href?
I have just no clue.
On Fri, Jun 20, 2008 at 1:08 AM, Josh Nathanson
Very nice!
One small issue...if I click in the main part of the dropdown, rather than
on the down arrow, I can't select any options with the mouse. This is a
little different than a native select control, where you can click anywhere
on it.
-- Josh
- Original Message -
From:
$('span').addclass('red');
addClass has to be camel case - javascript is case-sensitive.
-- Josh
- Original Message -
From: weegekid [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, June 18, 2008 7:48 AM
Subject: [jQuery] Basic newbie question -
The offset() method is only gettable, not settable.
You might need to do something like this:
$(#insertLink).click(function(){
var offset = $(this).offset();
$(#insertDiv).css({ top: offset.top, left: offset.left }).toggle();
});
-- Josh
- Original Message -
From: eric [EMAIL
On the SproutCore site, it talks about it being a complete MVC type
framework. This is a different approach than jQuery. It reminded me a bit
of Spry.
The SproutCore guy did a presentation at the SF Javascript Meetup a couple
of months ago, and it sounded pretty interesting.
-- Josh
1 - 100 of 389 matches
Mail list logo