$.ajax({
type: "GET",
url: "http://www.roblox.com/My/GroupAdmin.aspx?gid=148530",
data: { javascript:__doPostBack('ctl00$ctl00$cphRoblox$cphMyRobloxContent$GroupMemberAdminPane$dlMembers_Footer$ctl02$ctl00','') }
})
.done(function( msg ) {
$(msg).find('.member-name-container').children('[title]').each(function() {
console.log( $(this ).text() )
var g = $(msg ).text()
});
});
How exactly do I make this log the data I want it to find after it does the postback? Its clearly supposed to log in console. I'm trying to find all the usernames in this group on ROBLOX. Help as fast as possible, really need to finish this project. How do I fix this?
well the
$()
injQuery
is a selector which applies toclasses
,ids
and much more in yourDOM
. you can't parse a text with just putting it inside$()
- that's not how it works since you don't have your resultinghtml
in yourDOM
. so you have to parse it like text, not like it was in yourDOM
.