The Little Guy Posted March 16, 2007 Share Posted March 16, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.