This is my script.
<script>
function geturl() {
var comment = window.document.comment.comment.value;
var url = "../ajax/profile_comments.php?type=post&ajax=1&user=<?=$User?>&comment="+ escape(comment) +"&submit=Comment";
loadpage(url);
}
function loadpage(url) {
$('#comment').html('<br />Loading...<br /><br />');
$('#comment').load(url);
}
</script>
My issue is whenever I post a link e.g http://www.link.com it won’t post but whenever I put http://link.com it works why is that?