Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Подключаете jQuery
- <div id="getContent"></div>
- <script>
- $(document).ready(function(){
- $.ajax({
- url: '/your-script.php?parametr=1',
- cache: false,
- beforeSend: function() {
- $("#getContent").html('Подождите, загружается контент');
- },
- success: function(html){
- $("#getContent").html(html);
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement