File upload with textarea

File upload with textarea

Halo,

I user jQuery, 1.2.6 and the AjaxFileUpload Plugin from
http://www.phpletter.com/Our-Projects/AjaxFileUpload

It is work fine only with one small problem, I want commit a content
from textarea.
The text will be send to the php fiel but it has one mistake, if in the
textarea are line break, this line break will be not send to the php fiel.
The question is why?

Here the code from my JavaScript:
function ajaxFileUpload()
   {
       var myTitle = $("#myTitle").val();
         var myCategory = $("#myCategory").val();
         var fileToUpload = $("#fileToUpload").val();
         var myText = $("#myText").val();
           
       if( myTitle.length > 0 && myCategory.length > 0 &&
fileToUpload.length>0 )
         {             
           $("#uploadInfo").html("Upload start.");
           $("#myContentDivIntern").hide();
           $("#loading").show();
                 $("#loading")
                 .ajaxStart(function(){
                   $(this).show();
                 })
                 .ajaxComplete(function(){
                   $(this).hide();
                 });
                     $.ajaxFileUpload
                     ({
                             url:'<?php echo
$http_path;?>ajax/doajaxfileupload.php?uid=<?php echo
$myid;?>&myCategory='+myCategory+'&myTitle='+myTitle+'&myText='+myText,
                             secureuri:false,
                             fileElementId:'fileToUpload',
                             dataType: 'json',
                             if(typeof(data.error) != 'undefined')
                   {
                       if(data.error != '')
                       {
                           alert(data.error);
                       }else
                       {
                           alert(data.msg);
                       }
                   }
               },
               error: function (data, status, e)
               {
                   alert(e);
               }
       }
       else
       {
               $("#uploadInfo").text("Error, not all field feel. ");
                 $("#uploadInfo").css({ color:"red", background:
"yellow", fontWeight:"bolder", fontSize:"30px" });
                 return false;
       }
   }

Has someone idee how could be work?

regards
reg56