I know that you can echo html in a .php page, but can you echo html with a javascript aswell?
For example
Any help with this or a similar method would be greatly appreciated thanks,
[EDIT]
Don't worry i answered my own question lol thanks anyway
For example
Just html
Code:
echo '<p>' . "hello world" . '</p>';
Then with javascript
Code:
echo '<script type="text/javascript">
document.write("Hello World!");
</script>';
[EDIT]
Don't worry i answered my own question lol thanks anyway
Comment