Its an ajax chat. I'm trying to pass a link in the window that prints the output of the 2 people chatting. I'm able to insert emoticons as gifs so it's reading html.. but not rendering href tags..
I'm having trouble printing a URL in a textbox form element:
<script>
$(function() {
$('#introphoto').click(function() {
var areaValue = $('#messagebox').val();
$('#messagebox').val(areaValue + 'View my <a href="#">Book</a>');
});
});
</script>
the text is actually printing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.