If you want to update the server end you should pass it using ajax. For example:
var some_script = {
ajaxRequest: function (options){
var result = $.ajax({
url: options.url,
type: options.type || 'POST',
cache: options.cache || false,
dataType: options.dataType || 'html',
async: options.async || false,
contentType: options.contentType || 'application/x-www-form-urlencoded; charset=utf-8',
data: options.data || false,
success: options.success,
error: options.error,
complete: options.complete
});
},
html_init_: function() {
// Handler for date change here
$('#datepicker').change(function() {
some_script.ajaxRequest({
data: post_data,
url: $(this).attr('href'),
complete: function(msg){
},
success: function(msg) {
// Check result of ajax call
}
I am not familiar with asp, but the ajax call is server independent
[
api.jquery.com...]