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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -