2019-08-19 05:23
采纳率: 0%
浏览 31

加载器的ajax? [重复]

This question already has answers here:
                    <div class="grid--cell mb0 mt4">
                        <a href="/questions/68485/how-to-show-loading-spinner-in-jquery" dir="ltr">How to show loading spinner in jQuery?</a>
                            <span class="question-originals-answer-count">
                                (24 answers)
            <div class="grid--cell mb0 mt8">Closed <span title="2019-08-19 06:19:43Z" class="relativetime">8 months ago</span>.</div>

my page slows down every time I run my script, that's why I need to know how I can fix it

I have tried it on my local and public server and I have the same slow loading problem.

<script type="text/javascript" src="catalog_rank3.js"></script>

<form action="javascript:;" onsubmit="setSceneProducts()">
    <input type="text" class="btn-transparent" id="hov" size="50" placeholder="Link Here"><br/><br/>
    <span class="btn-border btn-primary">
        <input type="submit" class="btn btn-primary btn-lg" value="Unhide">

<div id="main">result here</div> 

I would like to know if I can add a loader so that the data is displayed when the entire load is complete.


图片转代码服务由CSDN问答提供 功能建议