View Single Post
Old 02-24-2010, 05:52 PM  
nation-x
Confirmed User
 
nation-x's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
below is your function changed to return html
Code:
$.post("ajaxwork.php?a=import_videos", $("#target").serialize(),
   function(data){
     $("#ajaxCol"+jsNum).html(data);
   }, "html");
Quote:
Originally Posted by Jakez
Ok I replaced the <input> field with a textarea and it won't print anything if I have more than 1 line of text inside the textarea... what the faaaaaaack!
try using
Code:
echo htmlentities($return_json);

Last edited by nation-x; 02-24-2010 at 05:57 PM..
nation-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote