Jump to content

[SOLVED] Ouput Text


The Little Guy

Recommended Posts

I am fairly new to JavaScript, so how would I print some text between a div?

 

I am successfully getting a response from the server

 

the javascript/AJAX line:

document.printTxt.writeln = ajaxRequest.responseText;

 

the HTML:

<form name='myForm'>
<input type="button" onclick="ajaxFunction()" value="Get Time" />
</form>

<div name="printTxt"></div><br />

Link to comment
https://forums.phpfreaks.com/topic/42939-solved-ouput-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.