Click here to Skip to main content
16,019,018 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to get url of item but getting null string

Link tag in xml
JavaScript
 <link>
<![CDATA[ https://zeenews.india.com/india/delhi-cm-arvind-kejriwal-calls-for-bharatiya-system-of-education-read-here-2512636.html ]]>
</link>

const link = $(this).find('link').text();


What I have tried:

in my output I got

JavaScript
{
"link":""
}


can you help me to get the URL string
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900