Ich habe sowohl white-space:pre-line als auch mehrere textarea_value.replace-Tipps ausprobiert, aber keiner funktioniert. Die Zeichenfolge wird nur mit Leerzeichen und ohne Zeilenumbrüche gespeichert.
Was übersehe ich?
Hier ist der Code:
textarea
Code: Select all
response.Write "" &_
"" &_
ULnotes("ULnote") &_
"" &_
"
" &_
""
Code: Select all
function updateNote(ULID, NoteID){
let ListNotes=document.getElementById('note'+NoteID).value;
// ListNotes.replace(/\n\r?/g, '
'); This is not working...
let URL = '/AlbumNotesUpdate.asp?NoteID='+NoteID+'&ListNotes='+ListNotes;
//window.open(URL)
fetch (URL); location.reload();
}
Code: Select all
Mobile version