JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 4th, 2008, 01:48 AM
imagenesis imagenesis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 201 imagenesis User rank is Corporal (100 - 500 Reputation Level)imagenesis User rank is Corporal (100 - 500 Reputation Level)imagenesis User rank is Corporal (100 - 500 Reputation Level)imagenesis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 1 h 40 m 15 sec
Reputation Power: 8
How to get the nodename of a jquery xml node?

$(this).find('i').children().each(function() {
alert($(this).nodeName);
}

^^ Doesnt work... any ideas

Reply With Quote
  #2  
Old October 6th, 2008, 06:01 AM
Winters Winters is offline
Super Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jul 2003
Posts: 3,874 Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 1 Day 17 h 30 m 25 sec
Reputation Power: 2569
I would suggest asking in one of the JQuery forums, as not everyone uses frameworks and so will have no idea how that code pulls data.
__________________
[PHP] | [Perl] | [Python] | [Java] != [JavaScript] | [XML] | [ANSI C] | [C++] | [LUA] | [MySQL] | [FirebirdSQL] | [PostgreSQL] | [HTML] | [XHTML] | [CSS]

W3Fools - A W3Schools Intervention.

Reply With Quote
  #3  
Old April 3rd, 2010, 07:03 PM
yoboy yoboy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 1 yoboy User rank is Corporal (100 - 500 Reputation Level)yoboy User rank is Corporal (100 - 500 Reputation Level)yoboy User rank is Corporal (100 - 500 Reputation Level)yoboy User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 m 42 sec
Reputation Power: 0
Quote:
Originally Posted by imagenesis
$(this).find('i').children().each(function() {
alert($(this).nodeName);
}

^^ Doesnt work... any ideas


just remove the $ from
Code:
alert($(this).nodeName);


so it is
Code:
alert((this).nodeName)
Comments on this post
haydenchambers agrees!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > How to get the nodename of a jquery xml node?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap