Question by BCZV: How do i make the output of a comment box show up in the same window? Im using html/scripts etc. web design?
How do i make the output of a comment box show up in the same window? Im using html/scripts etc. web design
Best answer:
Answer by linux4me
Are you asking about how you can enter a comment, submit the entry, and have it load in the same window without reloading the page? If so, what you need is AJAX (Asynchronous Javascript and XHTML). You can use HTML instead of XHTML, though.
If you post the entry to your comment box using AJAX, you can process it and then update the place on your page where you list the comments without the page needing to reload. Just google “ajax tutorial” and your favorite server-side programming language and you’ll find lots of how-tos that make it easy.
Give your answer to this question below!
Q&A: How do i make the output of a comment box show up in the same window? Im using html/scripts etc. web design?
Question by BCZV: How do i make the output of a comment box show up in the same window? Im using html/scripts etc. web design?
How do i make the output of a comment box show up in the same window? Im using html/scripts etc. web design
Best answer:
Answer by linux4me
Are you asking about how you can enter a comment, submit the entry, and have it load in the same window without reloading the page? If so, what you need is AJAX (Asynchronous Javascript and XHTML). You can use HTML instead of XHTML, though.
If you post the entry to your comment box using AJAX, you can process it and then update the place on your page where you list the comments without the page needing to reload. Just google “ajax tutorial” and your favorite server-side programming language and you’ll find lots of how-tos that make it easy.
Give your answer to this question below!