On 8/3/07, Frank <[EMAIL PROTECTED]> wrote:
>
>
> Was I misinformed or is the is(); used only with CSS? If not,
> is("click"); should evaluate when click() is clicked.
>
> Frank
>
>
I don't know that "used only with CSS" is the way I'd put it, but you're on
the right track. The is(expr) function a
Was I misinformed or is the is(); used only with CSS? If not,
is("click"); should evaluate when click() is clicked.
Frank
On Aug 3, 2:12 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Pete wrote:
> > I guess I'm still not getting "else" out of this. I thought I had it
> > figured out
>
> > I thi
Pete wrote:
I guess I'm still not getting "else" out of this. I thought I had it
figured out
I think what's confusing to me as a n00b is that "if" does not seem to
be closed. How would I accomplish an else condition?
I highly recommend to make yourself familiar with JavaScript control
str
PERFECT! That helps me out quite a bit since I didn't really know the
syntax on JQuery conditional statements.
On Aug 3, 10:26 am, spinnach <[EMAIL PROTECTED]> wrote:
> try it like this, .is() returns true or false so you have to use it in
> an if statement:
>
> $("a.saveConfig").click(function(
Sorry... I figured it out fairly easily. Still learning over here.
Thanks for the help!
On Aug 3, 10:57 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> Yes, is() method returns true/false. This is one of the few methods which
> doesnt return a jquery object because it makes more sense to re
I'm still confused about one thing though. How does the else portion
work? Sorry for being such a noob, but I haven't been able to find
the syntax using "IS" as an if statment through Jquery.
On Aug 3, 10:57 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> Yes, is() method returns true/fal
I guess I'm still not getting "else" out of this. I thought I had it
figured out
I think what's confusing to me as a n00b is that "if" does not seem to
be closed. How would I accomplish an else condition?
On Aug 3, 11:27 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Pete wrote:
> > I'm trying t
Pete wrote:
I'm trying to create a link that when clicked will produce an alert if
there are any visible divs (all .detail divs are hidden by default).
I have the following function but it doesn't seem I'm doing it
correctly; nothing happens regardless of the visibility status of the
divs.
$("a
Yes, is() method returns true/false. This is one of the few methods which
doesnt return a jquery object because it makes more sense to return boolean.
-GTG
On 8/3/07, spinnach <[EMAIL PROTECTED]> wrote:
>
>
> try it like this, .is() returns true or false so you have to use it in
> an if statemen
try it like this, .is() returns true or false so you have to use it in
an if statement:
$("a.saveConfig").click(function() {
if ($('div.detail').is(':visible')) alert('Hey this works');
});
dennis.
Pete wrote:
I'm trying to create a link that when clicked will produce an alert if
there ar
10 matches
Mail list logo