这是我的选择代码。我想提醒标签的价值:' subalertTypeDesc'。 我怎么能用jquery / js做到这一点?
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle: nil];
UIViewController *vc = [storyboard instantiateViewControllerWithIdentifier:@"RoloBusinessCard"];
[self.navigationController pushViewController:vc animated:YES];

答案 0 :(得分:1)
将以下代码添加到您的页面
<script>
$("#portfolioSubTypes").change(function(){
var txt = $("#portfolioSubTypes option:selected").text();
alert(txt);
});
</script>