Hi there,
I have a javascript rich text editor on a page which saves the contents of whats typed in into a txt file "links.txt"
my problem is, i want to load the contents of the txt file into the generate javascript richtextbox when the page loads?
is there any way of me doing this? i have posted my code below and put RTE where the links.txt should be loaded into..
can anyone help me shed some light on this?
<form name="richTexteditor" action="links.php" method="post" onsubmit="return submitForm();">
<script language="JavaScript" type="text/javascript">
writeRichText('rte1','**RTE**', 400, 200, true, false);
</script>
<input type="submit" name="submit" class="button" value="Save Changes" />
</form>
Thanks,
Chris