Forum Moderators: open
document.formName.textBoxName.value = ajaxRequest.responseText;
But my server response is not just a piece of text.
It contains few paragraphs and a form. How can I print
them right below where the Ajax was called?
For an example I want to print following set of HTML,
<p>first paragraph</p>
<form name="myForm">
<input type="text" name="fName">
<input type="button" name="submit" value="Submit">
</form>
<p>second paragraph</p>
One more thing...
Can I bring the content in this div tag to the top of the page?
I mean this div is called at the bottom of the page and when the
Ajax is executed I want it to scroll automatically and come to
the div tag just like when we click a name link (<a name=>).
Is there a JavaScript property I can set to get this done?
Thanks...