Hello,
I have these URLs from a text file
"http://xxxxxxxxxxxxxx.xom.sssss/data/feed/base/user/592591?kind\u003doium\u00flt\u065drss\u002s\u0asn_7S\udess\aawac", "url":
"http://xxxxxxxxxxxxxx.xom.sssss/data/feed/base/user/592591?kind\u003doium\u00flt\u065drss\u002s\u0asn_7S\udess\aawac", "url": },
"http://xxxxxxxxxxxxxx.xom.sssss/data/feed/base/user/592591?kind\u003doium\u00flt\u065drss\u002s\u0asn_7S\udess\aawac", "url":
I want to do a loop, in #from and append it to #here
$('#from').match(/http:\/\/\S+/).each(function(){;
var t = $(this).text();
$(t).appendTo('#here');
});
There seems to be an error .
HTML CODE
<div id="from">
<?
$fl = "file.txt";
$file1 = fopen($fl, "r");
$content = file_get_contents($fl);
echo $content;
?>
</div>
<div id="here"></div>
I could easily use PHP, but I want it to make it in jQuery, since it gives me the freedom to pull any http://, be it anywhere in the text file or how complicated it may be.
Thanks Jean