Created
June 2, 2014 08:38
-
-
Save rubenCodeforges/c63db0dfc7302fd2498b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
url: "/theme/coursesearch/layout/menu_courses.php", | |
cache: true, | |
async: true, | |
success: function(html){ | |
// Внутри саксеса ты вставляеш код который должен получить данные пришедшие с сервера | |
$('.navbar .nav a').each(function(){ | |
$(this).parent().append('<div class="drop"></div>'); | |
$(this).html(html); | |
}) | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment