no, I will acknowledge!
anoop wrote:
Test - please ignore
Thanks - but if you really should, then please acknowledge my actual posts:
http://groups.google.com/group/jquery-en/browse_thread/thread/130b4df144c2e0b9
I would much appreciate any help you could provide.. :-)
-Anoop
On Fri, Jul 24, 2009 at 12:26 PM, Liam Potter
On Mon, Apr 20, 2009 at 6:21 PM, kali maya778...@yahoo.com wrote:
I can't see any posts I post to this group, why is this, WHY is it at
all that you only read this forum if you're logged on to google??
most forums online you just need to register with the forum.. WHY
bring google in
um
Ricardo,
Thanks so much for responding. That's very helpful. My use of events has
been very rudimentary so far; your .bind() example has helped me
understand them more fully. And now that I know what I'm looking for,
various approaches to the problem have been illuminating as well.
for
Dear all,
OK, solved it myself in case anyone's still listening. It still remains a
puzzle why safari on Mac interprets the code differently.
The if/else test below isn't necessary. The fadeOut was executing, but the
.load() callback failed when the .thumb clicked was the same one as the
Try this:
el.find(#pic)
.attr({src: pix[imgName].imgSrc, name: imgName})
.bind('load readystatechange', function(e){
if (this.complete || (this.readyState == 'complete' e.type =
'readystatechange')) {
el.fadeIn(slow);
$(#loading).hide();
};
});
Hi, I realize that jQuery.browser is now deprecated, but I'd like to
give a use case where it makes sense to use jQuery.browser: I have
some code where each browser renders slightly differently, such as how
they treat borders for DIVs. If I use jQuery.browser, I can update the
CSS appropriately
Hi Geuis,
Ther is a function with alias ($.browser) it will gives u functionality to
identify browser name
like this *$.browser.mozilla , $.browser.msie , ** $.browser.opera ,
$.browser.safari.*
if u wana return the version of browser , then u have use below function
*$.browser.version
jQuery.browser is deprecated in 1.3 + (don't use it).
JQuery now uses feature detection. This is a more extensible way of
detecting which browser is being utilized.
See the following page for more details...
http://docs.jquery.com/Utilities/jQuery.support
On Mon, Feb 9, 2009 at 4:02 AM,
I think my question was misunderstood. I'm not asking about detecting
browser versions.
I want to test if the current browser has native support for a
particular kind of CSS selector. My previous example was the :first-
child pseudo selector that isn't supported in IE6, but is supported in
most
Are you *sure* that parent child doesn't work in IE6?
I could see that this CSS declaration, and pretty sure it doesn't work
ul li {
color: blue;
}
but part of the magic of jQuery (and other libraries) is that it takes
that into account already. and saying $(ul li) should work no
I think my question was misunderstood. I'm not asking about detecting
browser versions.
I want to test if the current browser has native support for a
particular kind of CSS selector. My previous example was the :first-
child pseudo selector that isn't supported in IE6, but is supported in
most
I guess this really is a hard concept to get across after all.
Ok, so there's browser feature detection with .support.
So imagine the thing I'm talking about works like this:
alert( $('ul li:first-child').support );
alerts 'true' if Firefox, but alerts 'false' if IE6.
I'm not trying use the
You could do this because the .css(attribute) returns the computed
(the result of all the CSS applied) value of an element's CSS
attribute.
It would involve adding a stylesheet to the document with the
particular selector in it, with say a change to the background colour.
Then create elements
Ahh, that's a great point! Thanks Karl, I think you solved my problem!
On Feb 9, 4:06 pm, Karl Rudd karl.r...@gmail.com wrote:
You could do this because the .css(attribute) returns the computed
(the result of all the CSS applied) value of an element's CSS
attribute.
It would involve adding
Is there a way to test if blockUI is currently blocking a specific
element?
You can check to see if there is a block on a specific element like
this:
var isBlocked = $('#elementId').data('blockUI.isBlocked');
I'm trying to grasp the concept of need for this check
What's a situation where you would wonder what it is? Are you not in
control of your own code or something?
On Jan 5, 3:53 pm, Andy Matthews amatth...@dealerskins.com wrote:
How can I test to see if something is a jQuery object, or a
This sort of thing can happen a lot if you're writing functions which
take multiple inputs, based on convenience. Being in control of your
code shouldn't be a fascist thing like you're describing, where
there's only one way in which everything can or should happen. Having
openness in parameters
('fast');
$obj.show('fast');
}
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of MorningZ
Sent: Monday, January 05, 2009 2:57 PM
To: jQuery (English)
Subject: [jQuery] Re: Test if a variable is a jQuery object?
I'm trying to grasp
There're different ways:
obj instanceof jQuery
obj obj.constructor == jQuery
obj obj.jquery
And any other possible attribute sniffing, 'jquery' is obviously the
safest.
--
Ariel Flesler
http://flesler.blogspot.com
On Jan 5, 7:08 pm, Eric Garside gars...@gmail.com wrote:
This sort of thing
I just did something similar to your sollution but ended up in the
same problem (duplicating the error-message). Did you already found
the sollution to it?!
On 3 nov, 09:55, Torgeir [EMAIL PROTECTED] wrote:
Yes, I need to do somewhat the same thing as the groups option does,
but the problem
Yes, I need to do somewhat the same thing as the groups option does,
but the problem is that I have 20 - 30 products and I would like to
add/remove products without having to update the validation each time.
Here's what the docs say about the groups option:
A group consists of an arbitrary group
If I understand you right, I think you need the groups option:
$(#myform).validate({
groups: {
username: product1 product2
}
});
AFAIK, that'll group error messages for your selected elements.
It's not a case of the alert not showing up. That would result in an
error halting all processing. So for a human sitting at the screen that
would give us the data he wanted. But for code that needs to do
something differently if jQuery were not loaded, the alert method would
just fail and
That would fail if jQuery hasn't loaded. It would give an error saying
something like $ has no properties, or $ is not a function.
You could try something like this:
if (jQuery) { alert(jQuery loaded); }
I haven't tested this but don't see why it wouldn't work...
HTH
Shawn
Kyle Browning
Of course it would fail if the function didnt exist.
Thats the point.
He wanted to know how to check if it was loaded or not, so If the alert
doesnt show up, its not loaded.
On Feb 6, 2008 11:48 PM, Shawn [EMAIL PROTECTED] wrote:
That would fail if jQuery hasn't loaded. It would give an
On Feb 6, 2008, at 5:41 PM, MikeeBee wrote:
Is there a small piece of code you can put on a page to test if jquery
has loaded?
Thanks
Sure. You could do this:
if (typeof jQuery != 'undefined') {
// do something
}
--Karl
_
Karl Swedberg
www.englishrules.com
$(document).ready(function() {
alert('hi');
});
This uses jQuery's .ready function on the document object
On Feb 6, 2008 2:41 PM, MikeeBee [EMAIL PROTECTED] wrote:
Is there a small piece of code you can put on a page to test if jquery
has loaded?
Thanks
On 30 Okt., 17:55, Josh Nathanson [EMAIL PROTECTED] wrote:
Is there a cool way to check if an object is a jQuery object as opposed to
any other object?
I tried the constructor property but it just says Object(), the same as any
other object.
Tried typeof, but same deal, just object.
[EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, October 31, 2007 3:06 AM
Subject: [jQuery] Re: Test if object is jQuery object
On 30 Okt., 17:55, Josh Nathanson [EMAIL PROTECTED] wrote:
Is there a cool way to check if an object is a jQuery object as opposed
Try ...
if(Object.jquery){
; // it's (probably) a jQuery object
}else{
; // it's not
}
On Oct 30, 4:55 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
Is there a cool way to check if an object is a jQuery object as opposed to
any other object?
I tried the constructor property but it just
On Oct 30, 9:55 am, Josh Nathanson [EMAIL PROTECTED] wrote:
Is there a cool way to check if an object is a jQuery object as opposed to
any other object?
I tried the constructor property but it just says Object(), the same as any
other object.
Tried typeof, but same deal, just object.
if (obj.jquery) {
// it is a jquery object - jquery holds the version
}
else {
// not a jquery object
}
Thanks Eric and Wizzud, that's what I was looking for. Much better than
what I was doing.
-- Josh
Another option would be obj instanceof $
On 10/30/07, Josh Nathanson [EMAIL PROTECTED] wrote:
if (obj.jquery) {
// it is a jquery object - jquery holds the version
}
else {
// not a jquery object
}
Thanks Eric and Wizzud, that's what I was looking for. Much better than
what I
success!
On 9/17/07, KushM [EMAIL PROTECTED] wrote:
test
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
Yes they are :-)
On 9/5/07, Daniel Rossi [EMAIL PROTECTED] wrote:
my emails arent coming through
On Sep 5, 11:40 am, Daniel Rossi [EMAIL PROTECTED] wrote:
Interesting, im not getting the initial email, just the replies ! I'm
using gmail pop though.
Same for me, I've renounced to make it work with thunderbird, I use
web interface of gmail to send email to the list.
Daniel Rossi escribió:
Interesting, im not getting the initial email, just the replies ! I'm
using gmail pop though.
On 05/09/2007, at 7:24 PM, Dylan Verheul wrote:
Yes they are :-)
On 9/5/07, Daniel Rossi [EMAIL PROTECTED] wrote:
With GMail, your messages has not shown in the
On 05/09/2007, at 9:06 PM, SeViR wrote:
Yes they are :-)
On 9/5/07, Daniel Rossi [EMAIL PROTECTED] wrote:
With GMail, your messages has not shown in the conversations. You
can use Thunderbird or another
email client ;-)
Gmail pop here, I use Mac Mail. Thunderbird is terribly broken
I think Gmail changed something, I don't see my replies to group mails until
someone else answers again. The emails are in the sent folder until then.
Fred
On 9/5/07, Daniel Rossi [EMAIL PROTECTED] wrote:
Interesting, im not getting the initial email, just the replies ! I'm
using gmail pop
You are excused :)
On 7/12/07, Salvatore FUSTO [EMAIL PROTECTED] wrote:
excuse for this test
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
thanks :)
- Original Message -
From: Aaron Heimlich
To: jquery-en@googlegroups.com
Sent: Thursday, July 12, 2007 5:46 PM
Subject: [jQuery] Re: test
You are excused :)
On 7/12/07, Salvatore FUSTO [EMAIL PROTECTED] wrote:
excuse for this test
--
Aaron
passed :)
On 6/22/07, Rey Bango [EMAIL PROTECTED] wrote:
Test
--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
you really should return false;
On 6/22/07, Benjamin Sterling [EMAIL PROTECTED] wrote:
passed :)
On 6/22/07, Rey Bango [EMAIL PROTECTED] wrote:
Test
--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com
--
Benjamin Sterling
Actually... it would return true since I do believe he was looking for a
positive response. ;)
On 6/22/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
you really should return false;
On 6/22/07, Benjamin Sterling [EMAIL PROTECTED] wrote:
passed :)
On 6/22/07, Rey Bango [EMAIL PROTECTED] wrote:
LOL!
Benjamin Sterling wrote:
Actually... it would return true since I do believe he was looking for
a positive response. ;)
On 6/22/07, *Ⓙⓐⓚⓔ* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
you really should return false;
On 6/22/07, *Benjamin Sterling* [EMAIL PROTECTED]
Alexandre Plennevaux wrote:
hello,
i'm trying to test a condition whether a link has a given class, and
have it return true or false.
if ($(this).attr(class)=='refresh') {
alert(changing page);
return true;
}
else
{
return false;
}
Try, from memory:
if ($(this).is(.CLASSNAME))
hi Michael,
i just did :
if ($(this).filter(.selected)) {
return true;
}
else
{
and it worked !
On Apr 27, 10:44 am, Michael Price [EMAIL PROTECTED] wrote:
Alexandre Plennevaux wrote:
hello,
i'm trying to test
pixeline wrote:
hi Michael,
i just did :
if ($(this).filter(.selected)) {
return true;
}
else
{
and it worked !
That's not quite right. .filter() returns a jQuery object, which will
always evaluate to true. To
Dan G. Switzer, II schrieb:
Shelane,
Is there a test to know if a function has been defined or declared?
function modify(){
...my code
}
if(function('modify'))
or something like that?
A function is just a variable.
if( !!modify ) alert(exists);
if( typeof modify == function
if (typeof(modify)==function){}
.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.
Nathan Young
Cisco.com-Interface Development
A: ncy1717
E: [EMAIL PROTECTED]
-Original Message-
From: jquery-en@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
51 matches
Mail list logo