私のファイルでは、 の表示がnone でない場合に を計算しcshtml
たいと考えています。<td>
tr
<tr id="abc" style="display:none;height: 30px;">
<td class="titleStyle">Page:</td>
<td align="left">@Html.DropDownList(("pages"),
(IEnumerable<SelectListItem>)ViewData["mypages"], new { onchange = "func()",
id = "page2", style = "float:left; width: 276px;height: 20px;" })</td>
だから私は次のようなものを試しました:
<script type="text/javascript">
if ($("#abc").css("display") != "none") {
}
</script>
しかし、どうすればここから続けることができますか?
どんな助けでも大歓迎です!