why br not save in text file and html file in jquery -


enter image description herei facing 1 problem .i getting data server , show on screen .it having br tag . name ksdhfk (having br tag) hello ndfjsdf when have in text file or html file show name ksdhfk (without having br tag) hello ndfjsdf .where br tag goes..?

but save file on html or text . this.

 (note: in open court at.) the court: i'm going reserve counsel whether or not go evidence @ stage. court wants little additional research regard matter. @dfatty1: thank you.  the court: ready bring jury in? did enough {iing} else, counsel. @plfatty1: no, honor. the court: okay. can keep -- !d1w=!e1w=!f1w>!g1w>!h1w>!i1w?!j1w?!k1w?!l1w?!m1w@!n1w@!o1w@!p1wa!q1wa!r1wa!s1wb!t1wb!u1wb!v1wb!w1wc!x1wc!y2wc!{1wc!|1wd!}1we!~1we!1we!1we!1wf!1wf!2wf!1wg!1wg!1wg!1wg!1wh!1wh!1wh!1wh!1wi!1wj!1wj!1wj!1wj!1wk!1wk!1wk!1wl!1wl!1wl!1wm!1wm!1wm!1wm!1wm!1wm!1wn!1wo!1wo!1wo!1wo!1wp!1wp!1wp!1wp!1wq!1wq!1wq. the court: okay. i'll reserve ruling regard matter, we're ready proceed. @plfatty1: yes, honor.  the court: okay front page said exhibit number on it, yes, have. the court: 1 in think gave me separate says l--2 a. @dfatty1: that's front page , they're beats stamped 1 through 14. cpz)pz^3tkp//pxp/d/p 1/pxgw'p//((51((((/1p.{x^~+qq~~~(@~%5 (note: jury present.) pz33)d)f3=p//pxp/d/p 1/pxgw'p//**51****/1p.{tx^hm*h^d)d)i working? c3)d)fn2[=p//pxp/d/p 1/pxgw'p//,,51,,,,/1p.{x^hh^d)d)i started )npz33)d)f3r6=p//pxp/d/p 1/pxgw'p////51/////1p.{x^h.h^d)d)a +cpz%)pz^--t)-cx^d)d)x'q%/1$(/@//pltkd)(*d)3%^d)d)(8  x/tko/xb g@nff/ff@1w/h/sm8m8%66x/msmhm8%%n8%new cpz%)pz^--4_-cx^d)d)x'q%/3$l/@//pltkd)(*d)3%^d)d)/f3g351f3f3g3f3/1.{file. )npz33)d)f3r=p//pxp/d/p 1/pxgw'p//55515555/1p.{x^hy4h^d)d)i +cpz%)pz(}u%^--r-cx^d)d)x'q%/7$@!/@//pltkd)(*d)3%^d)d)/77875177778777/1.{just started npz33)d)f3r=p//pxp/d/p 1/pxgw'p//99519999/1p.{(x^h(8h^d)d)a +cpz%)pz(}u%^--4s-cx^d)d)x'q%/x;$x/@//pltkd)(*d)3%^d)d)/w;x;51w;w;x;w;/1.{new cpz%)pz(}u%^--$v-cx^d)d)x'q%/=$(/@//pltkd)(*d)3%^d)d)(8  x/tk;/xb g@nff/ff@1w/h/sm8m8%aax/msmhm8%%n8%file. 33)d)f3=p//pxp/d/p 1/pxgw'p//6?7?516?6?7?6?/1p.{$x^h>h^d)d)some cpz%)pz(}u%^--m-cx^d)d)x'q%/@$(/@//pltkd)(*d)3%^d)d)(8  x/tk?/xb g@nff/ff@1w/h/sm8m8%eex/msmhm8%%n8%reason once )npz33)d)f3=p//pxp/d/p 1/pxgw'p//bb51bbbb/1p.{4x^hjbh^d)d)you cpzj8)pz(cn^---cx^d)d)x'q%/d$(/@//ptkd)(*d)3%^d)d)(8  x/tkd/xb g@ff/ff@1w/h/sm8m8%iix/msmhm8%%n8%

enter image description here

i have div , save that

function nativepluginresulthandler (result) {     var isappend= window.localstorage.getitem("isappendbuttonclick");    if(isappend=='true'){     console.log(result+"************naveen***************");     $('#realtimecontents' ).append('<br>'+'<p>'+result+'</p>'+'</br>');   } } 
share|improve question
    
can little clearer question? think can show source code or example? – putvande jul 25 '13 @ 10:25
    
ok wait 5 mins – user2563256 jul 25 '13 @ 10:26
    
you using scripting language php,asp.net etc getting data server ? – tushar gupta jul 25 '13 @ 10:34
    
post more description. have tried? – sunil kumar jul 25 '13 @ 10:36
    
any update solution..? – user2563256 jul 25 '13 @ 10:58
up vote 1 down vote accepted

i think have problem in saving text file..please save file .you save file using .html..

like

fileentry.createwriter(function(writer) {                                writer.seek(writer.length);                                 writer.write($('#realtimecontents').html());                            }, fail); 
share|improve answer

you can use this:

    function nativepluginresulthandler (result) {     var isappend= window.localstorage.getitem("isappendbuttonclick");    if(isappend=='true'){     console.log(result+"************naveen***************");     $('#realtimecontents' ).append('<br><p>'+result+'</p><br>');   } } 
share|improve answer
    
no working showing in same line..:( – user2563256 jul 25 '13 @ 11:05
    
text file , append file show in same line without changing line – user2563256 jul 25 '13 @ 11:06
    
are u trying jsfiddle.net/sf6vf ? – anonmous change jul 25 '13 @ 11:13
    
no save data of see in simulator read data ..but during reading show in single line – user2563256 jul 25 '13 @ 11:21
    
what in result, regular html? – anonmous change jul 25 '13 @ 11:24

your answer

 
discard

posting answer, agree privacy policy , terms of service.

not answer you're looking for? browse other questions tagged or ask own question.

Comments