SCRIPT
function PostExportValues(meter_id, range_type_id, start_date, end_date, returnUrl) { var meter = $(\"#meter_selection\").val()[0]; $.ajax({
The problem may be that you cant actually download via an ajax call. If you look at this: jQuery plugin for requesting ajax like file downloads.
This will help you!