I have a textarea on my page careers.jsp that has a "template" string of tag textarea to be inputted by the user. (It lets them write a message, using aboutyourself as a place holder for the aboutyou .) After the user finishes the "template", I put it into a second desp.jsp tag textarea that actually replaces aboutyourself with whatever the user has texted in career.jsp tag textarea this is waht i need. But the propblem is if user pressed an enter key or spacebar key from the keybord those keys are also storing as html tags like <div><br></div> for Enter key and &nbps; for spacebar key how to over come this Issue i need solution for this in jQuery im not avare of php
text which is typed in textarea should not store the enter key html tag, spacebar key
Collapse
X
-
Tags: None
-
this is either a problem with the used input editor, if one is used (plain <textarea> fields do not show this behaviour) or with the server code processing the user input.But the propblem is if user pressed an enter key or spacebar key from the keybord those keys are also storing as html tags like <div><br></div> for Enter key and &nbps; for spacebar key
Comment