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 /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.