The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Message Owner

2 posters

Go down

Message Owner Empty Message Owner

Post by TamDonCo 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
TamDonCo
Forumember

Posts : 427
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Message Owner Empty Re: Message Owner

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

What does the code do?


Message Owner Slgray10

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Message Owner Empty Re: Message Owner

Post by TamDonCo 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
TamDonCo
Forumember

Posts : 427
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Message Owner Empty Re: Message Owner

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

I found it .. please delte this topic

Thank You
TamDonCo
TamDonCo
Forumember

Posts : 427
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Message Owner Empty Re: Message Owner

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

Locked as Requested


Message Owner Slgray10

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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