Passing URL from php to javascript
<p>I am reading a rss feed with php and creating html DOM from the same. Now I have a bunch of <code>&lt;li&gt;</code>'s with news feed. when a user clicks on a particular <code>&lt;li&gt;</code> I want to post certain data to another php file which performs some other function. </p>

<p>How I want the data is tricky. I have a URL for all the feed elements. When a user clicks on a particular feed, I need to retrieve the URL associated with that particular feed. </p>

<p>I want to run a $.click() function in which I am going to $.post to the next php script. </p>

<p>How do I get that URL without storing it in the HTML itself. I do not want to store the URL in the html document for security puposes. </p>

<p>I am new with PHP. </p>
