jquery - I cannot initially hide(); my span tag -
i have loader animated gif want hide , show during ajax request.
this loader html code.
<span id="loader"><img src="images/icons/ajax-loader.gif" alt="loader" /></span>
i want hide this
<script type="text/javascript"> $(document).ready(function() { $('#loader').hide() }); </script>
however still shows until until ajax function run , hides it. want hide @ startup.
<span id="loader" style="display: none">...</span>
Comments
Post a Comment