Guest User

Untitled

a guest
May 7th, 2012
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  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. });
Advertisement
Add Comment
Please, Sign In to add comment