jquery - How to append data in a div with the save data? -


how append data in div ?i have div show data text file in div .now want append data from previous data .how append data ?

<div id="realtimecontents" class="realtimecontend_h"></div> 

i read data save data that.

reader.onloadend = function (evt) {     $("#realtimecontents").text(evt.target.result); }; 

now want append data using not appending ?

function nativepluginresulthandler(result) {     $('#realtimecontents').html(result); } 

use .append()

$('#realtimecontents').append(result); 

http://api.jquery.com/append/


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -