Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Element.classNames()
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sedul  
View profile  
 More options Nov 2, 1:38 pm
From: Sedul <sedul...@gmail.com>
Date: Mon, 2 Nov 2009 10:38:55 -0800 (PST)
Local: Mon, Nov 2 2009 1:38 pm
Subject: Element.classNames()
I am using Prototype 1.60 and when I call classNames() on an element,
it returns me the element and not an array of Strings?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Quadling  
View profile  
 More options Nov 3, 4:54 am
From: Richard Quadling <rquadl...@googlemail.com>
Date: Tue, 3 Nov 2009 09:54:48 +0000
Local: Tues, Nov 3 2009 4:54 am
Subject: Re: [Prototype-core] Element.classNames()
2009/11/2 Sedul <sedul...@gmail.com>:

> I am using Prototype 1.60 and when I call classNames() on an element,
> it returns me the element and not an array of Strings?

According to [1], you will get a string back, not an array of strings.

Can you supply an example page?

Richard.

[1] http://api.prototypejs.org/dom/element.html#classnames-class_method

--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Dupont  
View profile  
 More options Nov 3, 1:07 pm
From: Andrew Dupont <goo...@andrewdupont.net>
Date: Tue, 3 Nov 2009 12:07:23 -0600
Local: Tues, Nov 3 2009 1:07 pm
Subject: Re: [Prototype-core] Re: Element.classNames()

On Nov 3, 2009, at 3:54 AM, Richard Quadling wrote:

> According to [1], you will get a string back, not an array of strings.

Nope — that's the notation for returning an array of strings.

> Can you supply an example page?

I second this request.

Cheers,
Andrew


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Quadling  
View profile  
 More options Nov 3, 5:04 pm
From: Richard Quadling <rquadl...@googlemail.com>
Date: Tue, 3 Nov 2009 22:04:26 +0000
Local: Tues, Nov 3 2009 5:04 pm
Subject: Re: [Prototype-core] Re: Element.classNames()
2009/11/3 Andrew Dupont <goo...@andrewdupont.net>:

> On Nov 3, 2009, at 3:54 AM, Richard Quadling wrote:
>> According to [1], you will get a string back, not an array of strings.

> Nope — that's the notation for returning an array of strings.

OMG! My excuse is I'm 42 years old and going bald. Enough to give
anyone brain farts!

--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google