View Single Post
Old 10-10-2012, 07:21 PM   PM User | #9
wman2
New to the CF scene

 
Join Date: Oct 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
wman2 is an unknown quantity at this point
Quote:
Originally Posted by xelawho View Post
ah, I get it. If you want to format the output differently, just change the innerHTML line - if you do it like this it will put a comma and a space after each username:
Code:
document.getElementById("results").innerHTML+=o.query.results.body.div.center.div[0].div.div[3].ul.li[2].span.content.split(" ")[1]+", ";
Nice thanks, I've got it how I want it using Word for now but I'll change it for next time
wman2 is offline   Reply With Quote