2020-04-15, 03:32
In a nutshell, it might be solveable by writing Python to do the first few lines equivalent of this:
javascript:
//forecast AJAX
var
forecast_data = { lt: "twcid", lc: "112091", fs: "TWC" },
forecast_load = function() {
$("#forecast").load("/local/ajax/forecastlocal.jsp", forecast_data);
$("#forecast_options li a").removeClass("selected");
$("#forecast_options li a." + forecast_data.fs.toLowerCase()).addClass("selected");
};
...
forecast_load();