How cross site recovery working on bottom click? please help me function DisplaySeatLayout(ticketClassId, theatreId) {
$(".tblDetails").show();
var showId = 7;
var filmId = 75;
var theatreId = theatreId;
var ticketClassId = ticketClassId;
$.ajax({
type: "POST",
url: "/FetchSeatLayout",
cache: true,
async: false,
data: "{showId:" + showId + ", theatreId:" + theatreId + ",filmId:" + filmId + ",ticketClassId:" + ticketClassId + ",csrfmiddlewaretoken: '{{ csrf_token }}'}",
contentType: "application/json",
dataType: "json",
success: function (data) {
$("#divSeatLayout").empty().html(data.d.seatLayout); // Load Seat Layout
},
error: function (request, status, error) {
alert(request.responseText);
}
});
}