1、直接把<script>放到html代码后面,不要放到@section里面。

2、使用代理。如下所示:

        <script type="text/javascript">
            $('#nr_abstract a#btnShow').bind('click', function () {
                $('#nr_abstract').slideUp();
                $('#nr_detail').slideDown();
            });
            $('#nr_detail a#btnHide').bind('click', function () {
                $('#nr_abstract').slideDown();
                $('#nr_detail').slideUp();
            });
        </script>

  

相关文章:

  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2021-12-05
  • 2021-11-16
  • 2021-10-19
  • 2022-12-23
  • 2021-12-03
猜你喜欢
  • 2022-01-07
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
相关资源
相似解决方案