How can I send data or event info from Javascript to Default.cs (ASP.NET)? is it ajax?
+1
A:
You will need to create an AJAX call to Default.aspx.
Using jQuery:
$.ajax({
type: "POST",
url: "Default.aspx",
data: "first=John&last=Doe",
success: function(msg){
alert( "Data saved: " + msg );
}
});
David Brown
2009-04-03 14:26:38