How to access ViewBag (mvc) value in Javascript · <script> · var productId = '@(ViewBag.ProductId)'; · alert(productId); · </script> ...
確定! 回上一頁