The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Message Owner

View previous topic View next topic Go down

Message Owner

Post by TamDonCo on October 11th 2016, 1:05 am

Code:
    $('.postprofile dt').each(function(){

        var str = $(this).closest('.post').text() ;
        console.log(str);

    });

how do we get the message owner or message nick of each message ?


TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Re: Message Owner

Post by SLGray on October 11th 2016, 1:32 am

What does the code do?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36706
Reputation : 2446
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Message Owner

Post by TamDonCo on October 11th 2016, 1:47 am

@SLGray wrote:What does the code do?

line 3 get message content including everything but I only want a message nick .. there 's some syntax can do it but I forget ..

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Re: Message Owner

Post by TamDonCo on October 11th 2016, 2:01 am

I found it .. please delte this topic

Thank You

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Re: Message Owner

Post by SLGray on October 11th 2016, 3:21 am

Locked as Requested


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36706
Reputation : 2446
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum