您将需要创建一个控制器操作,该操作将从第一个列表中获取一个值,并为第二个列表提供一个选项列表。然后,您可以使用Java框架(例如JQuery)进行ajax调用:
$('#TopicDescription').change(function() { // make AJAX call to update the second select list $.ajax({ url: "path/to/your/action", data: $('#TopicDescription').val(), success: function(data){ // do something to your other dropdown // for example if your getting the data back to fill it with from your post method $('#SubTopicDescription').html(data); // you get the point } });});


