Lazaroth
05-06-2003, 05:47 PM
How do you read the text from a file in a javascript and then make it put a <br> after every "."?
I.e.
<script>
var thetext = the_text_from_the_file.txt
// add a <br> after every "." in the file
//and then
document.write(thetext);
</script>
I.e.
<script>
var thetext = the_text_from_the_file.txt
// add a <br> after every "." in the file
//and then
document.write(thetext);
</script>