You can also use jQuery
you have 2 functions
Ajax : http://api.jquery.com/jQuery.ajax/
Load(shortcut, calls ajax) : http://api.jquery.com/load/
Examples : http://www.w3schools.com/jquery/jquery_ajax.asp
Edited : 2012-10-04 16:31 
Reason : Got the following Comment : 
Hm unless I don't understand, I don't want to load informations of the server, I want to get the informations I have in my JS code on my server. I already have the informations to send in the files Array(). – Elfayer
What you do is you make a AJAX call to the server like to an webservice.
Here is an example
var value = 1;
var handlerUrl = [YOUR WEBSERVICE URL];
//Do the Ajax Call
jQuery.ajax({
  url: handlerUrl,
  data: { "params[]": [value] },
  type: 'POST',
  success: function (data)
  {
     alert("succes");
  },
  error: function (jxhr, msg, err)
  {
     alert("error");
  }
});
in the data parameter you give your data. 
I send it here in the form of an array but you can send it also like 1 parameter.
How do you access it in well in my case a generic handler.
//Split the parameters and set in Array of Strings
var param = context.Request.Form[0].Split(',');
var value = param[0];
Like I said I give it in the form of an array so I only have one parameter 
and then I split it. But if you would give it like single properties then you 
could get it like :
context.Request.Form[0]
context.Request.Form[1]
context.Request.Form[2]
context.Request.Form[3]
context.Request.Form[4]