Cannot get the changed value ( aspx/jQuery/C# )

Cannot get the changed value ( aspx/jQuery/C# )

Alright this is the jQuery code I am using, followed by the C# code used to change the lastPoll value.
  1. $.ajaxSetup ( { cache: false } );

  2. var lastPoll = null;
  3. function Poll2() {  $("#scripts").load("Ajax/ScriptToCheckTheFile.aspx", { projectId: $("#projectId").val(),
  4. lang: ($("#projectId").val().charAt(0) == "E") ? "eng" : "fra",
  5. lastPoll: lastPoll,
  6. projectName: $("#projectId option:selected").text() },
  7. function(result) {     
  8.    
  9.     alert(lastPoll);
  10. } ); }
  1.  MethodInfo WritableMethod;
  2.  MethodInfo ReadOnlyMethod;
  3.  BindingFlags Flags = BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static;

  4.  WritableMethod = Request.Form.GetType().GetMethod( "MakeReadWrite" , Flags );
  5.  ReadOnlyMethod = Request.Form.GetType().GetMethod( "MakeReadOnly" , Flags );

  6.  FieldInfo FormField = Request.GetType().GetField( "_form" , Flags );
  7.   WritableMethod.Invoke( Request.Form , null );

  8.   Request.Form[ "lastPoll" ] = DateTime.Now.ToString();
  9.   FormField.SetValue( Request , Request.Form );
  10.   ReadOnlyMethod.Invoke( Request.Form , null );
The problem I am currently facing is that I cannot store the value from the c# code to the global var in my .js file containing the jQuery I provided.

If i had a simple "Request.Form[ "lastPoll" ];" right after my C# code, I would get the correct value, however, the alert in the jQuery will still be null. It seems like I am not affecting the global variable lastPoll but only the data name.

Is there a way to affect the var? Or any other way around this?