aF. aF. - 7 months ago 29
jQuery Question

php echo() function in jquery/javascript?

Is there a jquery/javascript function that does the same that PHP echo()?


I suppose the closest is document.write() as it's native javascript.

However there are many methods of writing/amending text in the DOM, such as innerHtml(), innerText() and outerHtml(), as well as jQuery's html() and text().