Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- //if all href click
- $("a[href]").click(function() {
- console.log(this)
- //put the controller to div with id change-content
- $("#change-content").load($(this).attr("href"))
- return false
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement