Posted a while ago with another problem I had, here goes the next.
Right the forum I'm designing which I have done from scratch isn't having that many features so keeping it lightweight. I want to have a function where using javascript, when the user clicks 'edit' to edit there post, the text in the post disappears, replaced by a textbox with the original text in the text box ready to be edited, I'll then use the JS onBlur function to save it. I've got as far as making the text box appear, now in the textarea tags I use like the below:
<textarea <?php echo $thetext; ?> </textarea>
This works, apart from where the lines break it shows break tags <br>. They don't show up when just displaying the text, only in the text box. Anyone have any ideas how to make this work, is it browser compatibility or..?
Thanks in advance.


Sign In
Create Account


Back to top









