我設置通過Java腳本H4是我想要做的文本添加新行這裏的如何打破行Java腳本
$("#description").text("for CCAET and has received significant international scientific recognition. <br /> \n Dr. Armogan has also been responsible for many surgical firsts in retina and cataract management.");
現在我有多個解決方案,但還沒有嘗試過的代碼在這裏工作的另一個
$("#description").text("or CCAET and has received significant international scientific recognition.Dr. Armogan has also been responsible for many surgical firsts in retina and cataract management."+
"abc"+
"def");
任何幫助嗎?
和'
'用於線打破 –
現在工作在JavaScript中,它顯示
,因爲它是 –
完美的男人!謝謝... :) –