jQuery: The Write Less, Do More JavaScript Library

Easy question to answer

View: New views
4 Messages — Rating Filter:   Alert me  

Easy question to answer

by jmatthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Where is the documentation on the properties of nodes that Jquery
utilizes?

xxx.nodeName (where nodeName) is the property.

nodeName works with Jquery.  I am trying to find a list of which other
do (e.g. nodeType, nodeValue, etc.).

Thanks.

Re: Easy question to answer

by Boggie Man :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i don't understand what u r saying , i am trying to reset the form in the iframe ,  i need a sample code , Thanks

Re: Easy question to answer

by Karl Swedberg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nodeName is a DOM element property. Not related to jQuery per se. Here are a couple references:




--Karl

____________
Karl Swedberg




On Nov 1, 2009, at 6:44 PM, jmatthews wrote:

Where is the documentation on the properties of nodes that Jquery
utilizes?

xxx.nodeName (where nodeName) is the property.

nodeName works with Jquery.  I am trying to find a list of which other
do (e.g. nodeType, nodeValue, etc.).

Thanks.


Re: Easy question to answer

by jmatthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok.  I didn't realize you can use DOM properties as extenders of
Jquery selectors.

Karl, did you see the revised Sandbox code?

It works!

I'm having a hang-up making it work in my app., though....

I am putting the current version up so you can see I am basically
removing the chamberHighlight class from Senate,House,Assembly if you
enter any element below them:  $(".Senate >*").removeClass
("chamberHighlight");

Well, I enter those lower (inner) elements, but they do not fire.  It
is as if they are shrouded by the fire on the Senate, House, Assembly
elements and cannot be listened to.

Here we go again....  Just as the perfect, logical solution is found,
it doesn't work....  Why does the same rule as in the sandbox example
not work in mine?

Firebug shows the <html> tree very well, and if you click an element
in the tree, it highlights its space on the screen.  They are there,
They are just not firing.

http://www.sovereignstates.net/StateLegislators/VSLegislators.htm
,



On Nov 1, 8:18 pm, Karl Swedberg <k...@...> wrote:

> nodeName is a DOM element property. Not related to jQuery per se. Here  
> are a couple references:
>
> https://developer.mozilla.org/en/DOM/element#Propertieshttp://www.javascriptkit.com/domref/elementproperties.shtml
>
> --Karl
>
> ____________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Nov 1, 2009, at 6:44 PM, jmatthews wrote:
>
> > Where is the documentation on the properties of nodes that Jquery
> > utilizes?
>
> > xxx.nodeName (where nodeName) is the property.
>
> > nodeName works with Jquery.  I am trying to find a list of which other
> > do (e.g. nodeType, nodeValue, etc.).
>
> > Thanks.
>
>