I have this script:
Click the button to display an alert box.
function myFunction() {
var aaaa = $("#custId").val();
confirm(aaaa.toString());
}
why \r\n can not create new line??
Thanks!!!!!!
Click the button to display an alert box.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankajkumar PatelRank #181 · 13.4K reputationPosted Mar 5, 2021, 8:04 AM EST
Kiran MohantyRank #821 · 2.8K reputationPosted Mar 5, 2021, 8:07 AM EST
https://stackoverflow.com/questions/667915/post-newline-carriage-return-as-hidden-field-valuenguyen hungRank #6,801 · 256 reputationPosted Mar 8, 2021, 1:55 AM EST