The front section adopts the bootstrap framework, and the background adopts the jeesite framework
The drop-down box cascade problem, when the city selects Beijing, the cinema will appear in Beijing under the cinema, select a cinema under Beijing
When the city is changed to Tianjin, a certain cinema in Beijing is still selected for the cinema, as shown in Figures 1111 and 2222.
$('#cinemaSelect').trigger("liszt:updated"); // $('#cinemaSelect').chosen(); None of these methods can be used with jquery, not even with the jquery chosen framework.
Problem solution:
$(".chzn-select").empty(); var html1='<select id="cinemaSelect" name="cinemaId" class="input-medium" style="width:200px;" >';
$('#cinemaSelectItem').html(html1);
Use the class selector to delete the select cleanup, and then add it again