I am using the content editable div as a field to fetch user inputs in my website.
But my problem is that when i get the contents of the div using jquery all the white spaces are lost which are entered by the user in the div ?
So, I want to know is there any way to preserve all the white spaces for content editable div ?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…