0

How to read local html file in raw and add into textarea with jQuery 1.3?

chlusher
  • 1
  • 2

1 Answers1

0

Something like this?

<textarea></textarea>

$(function(){
    $.get('local_file.html', function(data){
        $('textarea').val(data);
    });
});
Michiel Meertens
  • 97
  • 1
  • 1
  • 3