admin管理员组文章数量:1319014
I am trying to create a customer support dialog. I want the dialog to have two lines of text, and a title. The first line will be an error message, and the second will be a bold customer service number. This may be hard to picture so I added a dialog I made in paint to help out:
I tried making a new line statement (string Error = "You have an error... number \n Customer Support...
) to see if I could separate the text but that did not work. Any suggestions?
I am trying to create a customer support dialog. I want the dialog to have two lines of text, and a title. The first line will be an error message, and the second will be a bold customer service number. This may be hard to picture so I added a dialog I made in paint to help out:
I tried making a new line statement (string Error = "You have an error... number \n Customer Support...
) to see if I could separate the text but that did not work. Any suggestions?
1 Answer
Reset to default 7Why \n
? You should use <br />
.
"You have an error... number <br /> Customer Support: ..."
本文标签: javascriptJquery DialogAdding a new line of styled textStack Overflow
版权声明:本文标题:javascript - Jquery Dialog, Adding a new line of styled text - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742051664a2418092.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论