Template:Team:Paris-Saclay/left-column
From 2012.igem.org
(Difference between revisions)
YohannPetiot (Talk | contribs) |
YohannPetiot (Talk | contribs) |
||
Line 27: | Line 27: | ||
success : function(xmlData){ | success : function(xmlData){ | ||
$(xmlData).find('cm').each(function() { | $(xmlData).find('cm').each(function() { | ||
- | + | var idxArticle = $(this).attr("title").lastIndexOf("/"); | |
+ | var Article = idxArticle.substring(idxArticle+1); | ||
+ | alert(Article); | ||
} ) | } ) | ||
}, | }, | ||
error : function(){ | error : function(){ | ||
- | |||
} | } | ||
}); | }); |
Revision as of 17:34, 20 August 2012
Follow us !