1👍
✅
You could create a view that renders template_B.html
according to the parameter passed in POST, then in your page:
$(function() {
var parameter = $('#parameter');
parameter.on('change', function() {
$.post("/your/viev/url", {'parameter': parameter.val()}, function(response) {
$('tbody').html(response);
});
});
});
Source:stackexchange.com