Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Populate textarea with special characters after jQuery GET request
  2. success:function(data){
  3.      $('textarea').val(data);
  4. }
  5.        
  6. success:function(data){
  7.      $('textarea').html(data);
  8. }
  9.        
  10. success:function(data){
  11.      $('textarea').html(data);
  12. }
  13.        
  14. $("button").click(function(){
  15.     $("#test").val($("<div>").html(data).text());
  16. });