android - Why the data start scrolling horizontally when data is coming from server? -
i working on jquery , jquery mobile .i facing 1 simple complicated issue .i have 1 div in append server data. in div insert style (width example 40%).when inserted static data working fine in other word data come in new line when width complete. when data coming server start scrolling horizontally. take example if have data static. data this
hi demo
no come
next morning
but when data come server show thsi
hi demo(see upto here , can scroll data) no come next morning facing problem in android .
here code.
<div id="test" style="width:40%"></div>
$('#test').append(result)
i getting result server this
console.log("result"+result); 08-15 21:32:20.898: i/web console(5635): result a. {mrr} distanced himself in may of 2010 following the prohibited practice. 08-15 21:32:20.898: i/web console(5635): :876 08-15 21:32:20.906: d/cordovalog(5635): var data = result.replace(" ", " "); console.log("after result"+result); after result a. {mrr} distanced himself in may of 2010 following the prohibited practice. 08-15 21:32:20.906: i/web console(5635): after result a. {mrr} distanced himself in may of 2010 following the prohibited practice.
Comments
Post a Comment