I have a PHP function which returns this :
echo '<li>Welcome back.</li>' I would like that echo to be appended to an existing div on the html called <div id="messages"></div>
Is there any way of doing this with just simple echo or I should use Jquery?
Thanks!