Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <script>
  2. $(document).ready(function(){
  3. $('#stage').load('index.php');
  4. });
  5. </script>
  6.  
  7. $(document).ready(function(){
  8. $( '#stage' ).load( 'index.php #content' ); // Fetch the content div in index.php
  9. });
  10.  
  11. $(document).ready(function(){
  12. $.get( "index.php", function( data ) {
  13. $( "#stage" ).html( data );
  14. });
  15. });
  16.  
  17. <script>
  18. $(document).ready(function(){
  19. $("#frame").attr("src", "index.php");
  20. });
  21. </script>
  22.  
  23. $(document).ready(function(){
  24. $('#stage').load('index.php');
  25.  
  26. $('#stage').on('click', 'a', function(e){
  27. e.preventDefault();
  28. alert('clicked');
  29. });
  30. });
  31.  
  32. $(staticparent).on(event, selector, callback);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement