Gets you the first visible .upsell_feature_module's ID (in id=upcell
container).
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Fri, Mar 20, 2009 at 5:01 PM, Danjojo dlcac...@gmail.com wrote:
Sorry not a quiz... I just am having trouble remembering how I built
Ok cool, I was wondering, isn't it supposed to return a number?
because I am alerting NaN
On Mar 20, 8:19 am, jQuery Lover ilovejqu...@gmail.com wrote:
Gets you the first visible .upsell_feature_module's ID (in id=upcell
container).
Read jQuery HowTo Resource -
For clarity:
script type=text/javascript src=/includes/jquery.js/script
script type=text/javascript
//*** for scrolling cart upsells
$(document).ready(function(){
$(#scrollLeft).addClass(none);
});
/script
style media=all type=text/css
.none {
display: none;
}
/style
If you are getting NaN that means not a number, probably meaning
your selector isn't valid
On Mar 20, 9:07 am, Danjojo dlcac...@gmail.com wrote:
For clarity:
script type=text/javascript src=/includes/jquery.js/script
script type=text/javascript
//*** for scrolling cart upsells
Ok.. I was missing the id=%=intA% on the element.
Thanks for the help.
It's working in another site now.
On Mar 20, 9:29 am, MorningZ morni...@gmail.com wrote:
If you are getting NaN that means not a number, probably meaning
your selector isn't valid
On Mar 20, 9:07 am, Danjojo
Boy I feel like a dummy, but I can't even find that line in my jQuery
script. I am testing with jQuery 1.1.2 unpacked. Is that what we are
talking about? I might be having a similar problem and want to test
against that by commenting this out as well, but it helps if you can
find it first.
Jeff,
Boy I feel like a dummy, but I can't even find that line in my jQuery
script. I am testing with jQuery 1.1.2 unpacked. Is that what we are
talking about? I might be having a similar problem and want to test
against that by commenting this out as well, but it helps if you can
find it
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Try searching for the word connection. I think it only appears a few
times. The line is where base AJAX code is.
In the 1.1.2 code it's around line #1724...
Jim
Dan G. Switzer, II schrieb:
Jeff,
Boy I feel like a dummy, but I can't even find that line in my jQuery
script. I am testing with jQuery 1.1.2 unpacked. Is that what we are
talking about? I might be having a similar problem and want to test
against that by commenting this out as well, but
It is code written by the devil to torture the good and pure of heart!
It was a kludge to a firefox version that is no longer supported. It's only
still there because it was taken as gospel by the early adopters of jQuery!
I'm not a zealot, or calling for a reform, but I can no longer support the
Jörn,
if ( xml.overrideMimeType )
xml.setRequestHeader(Connection, close);
I'm still not sure when that is really necessary to set. Could someone
summarize the conclusion from this thread?
In older Gecko builds v1.0.x, the content length was incorrect unless you
passed in the connection
But you can!!! beforeSend = function(req){/* any custom evil */}
On 4/18/07, Brandon Aaron [EMAIL PROTECTED] wrote:
Well said! :)
In addition it would be nice if a developer could easily, manually
close the connection if for some reason needed too.
--
Brandon Aaron
On 4/18/07, Ⓙⓐⓚⓔ [EMAIL
At the risk of beating a dead horse; a few links to related (and
fixed) bugs in other projects (including firefox).
The root cause of the hack (Dan just touched on it):
https://bugzilla.mozilla.org/show_bug.cgi?id=246651
Message reporting that the above bug was fixed in the 11 Sep 2004 build
Yeah, I found that. I was looking for 'transport' instead of 'xml'.
I believe I will leave it alone as I don't think it is causing me
problems.
Thanks all.
On Apr 18, 1:37 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Dan G. Switzer, II schrieb: Jeff,
Boy I feel like a dummy, but I can't
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
I like this approach. Could you create an enhancement ticket
for this?
Done!
Ticket #1118 (new feature)
http://dev.jquery.com/ticket/1118
Catching up on my email and just wanted to follow up on this
Also - how can I re-compress my source with this modification included?
I don't know about your first question, but to answer your second
question, google search for javascript packer. You'll find this:
http://dean.edwards.name/packer/
Good luck.
--Erik
I vaguely remember there being some issue with older versions of Firefox
that this solved, but don't quote me on that.
Oddly enough, Ajaxian just had reference to a blog entry that talks about
Prototype's fix for this:
/* Force Connection: close for older Mozilla browsers to work
* around a bug
Correct, this was a work around for a pre-1.5 FF issue. My notes on
it say see mozilla bug #246651 but I remember thinking that jQuery
was using the same work around as another js library (prototype?) and
that that project had its own bug to get rid of the work around. I
thought I saw that the
thank you John, it always bothered me!
On 4/10/07, John Resig [EMAIL PROTECTED] wrote:
Personally, I think this fix should just be removed - especially
considering that we don't even support versions of Firefox, that old,
any more.
--John
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED]
Ditto :)
On 4/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
thank you John, it always bothered me!
On 4/10/07, John Resig [EMAIL PROTECTED] wrote:
Personally, I think this fix should just be removed - especially
considering that we don't even support versions of Firefox, that old,
any more.
I actually need to override mime type! It was very confusing that the only
reference to it was to close the connection! All is well now! But closing
the connection still bothers me!
On 4/10/07, Ian Struble [EMAIL PROTECTED] wrote:
Correct, this was a work around for a pre-1.5 FF issue. My
John,
Personally, I think this fix should just be removed - especially
considering that we don't even support versions of Firefox, that old,
any more.
Perhaps we remove it, but add code there to allow custom headers to be set.
That way if someone needs some additional headers set (or needs to
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
Perhaps we remove it, but add code there to allow custom headers to be
set.
They should already be able to do that with the beforeSend option[1][2], but
your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2]
They should already be able to do that with the beforeSend option[1][2],
but your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2] http://dev.jquery.com/browser/trunk/jquery/src/ajax/ajax.js#L644
One other benefit with my change, is you could get rid of this line:
637 // Set
I like this approach. Could you create an enhancement ticket for this?
--
Brandon Aaron
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
They should already be able to do that with the beforeSend option[1][2],
but your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2]
Dan G. Switzer, II schrieb:
They should already be able to do that with the beforeSend option[1][2],
but your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2] http://dev.jquery.com/browser/trunk/jquery/src/ajax/ajax.js#L644
One other benefit with my change, is you could get
didn't someone post a version jQuery.extend that could act recursively on
nested objects?
On 4/10/07, Brandon Aaron [EMAIL PROTECTED] wrote:
Yeah just like most plugins do with their options.
--
Brandon Aaron
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
Jörn,
462
Brandon Aaron schrieb:
Yeah just like most plugins do with their options.
Sure, but ajaxSettings are the default options for the ajax method. It
seems like a bad idea to me to nest those defaults.
// ugly:
jQuery.extend(jQuery.ajaxSettings.headers, {
myHeader: myValue;
}
And
28 matches
Mail list logo