1. #1
    Ext User franzisk's Avatar
    Join Date
    May 2007
    Posts
    163
    Vote Rating
    0
    franzisk is on a distinguished road

      0  

    Question Issue setting value in TextArea

    Issue setting value in TextArea


    How can I put text with line-breaks in TextArea?
    It always says "unterminated string literal" and show the first part of the text before the first \n

    Let's say I have this in PHP:
    PHP Code:
    $text "Frist Line
    Second Line
    Third Line"

    Fhanks
    When you have a hammer everything looks like a nail

  2. #2
    Ext User
    Join Date
    Nov 2007
    Posts
    32
    Vote Rating
    0
    Phpex is on a distinguished road

      0  

    Default


    For future references Check out : http://extjs.com/forum/showthread.php?p=91563

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    1
    Vote Rating
    0
    Sasidhar.Gogula is on a distinguished road

      0  

    Default


    Replace the textarea value like follow:

    replace('\n','<br>')) this will add new line to the text

    Sasidhar

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."