1

关于 Adob​​e Edge Preview 4单击此处

我尝试了下面的代码进行测试。预期结果是单击按钮,然后动态加载动画。

<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="edge_includes/jquery-1.6.2.min.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('button').click(function() {
            $('body').load('ajax.txt');
        });
    });
    </script>
</head>
<body>
    <button>show</button>
</body>
</html>

ajax.txt中的内容:

<div id="stage" class="EDGE-49494571"></div>
<script type="text/javascript" src="ys-slider_edgePreload.js"></script>

但它不起作用。有什么解决方案可以正确加载吗?

4

0 回答 0