Is there a jquery/javascript function that does the same that PHP echo()?
I suppose the closest is However there are many methods of writing/amending text in the DOM, such as |
|||
|
You could use
or
|
||||
|
|
|||
|
while using jquery you can view you text under any element obj.
|
||||
|
If you want to edit the content of an element use |
|||
|
echo
is not a function (it's a language construct) and you're probably looking fordocument.write('Hello World');
. – acm Nov 17 '11 at 13:59