this ultimately disappoints because it works on the development site, but after it moves to the site in real time, it stops working .: S
$('.menu_btn').click(function(e) {
var url = $(this).attr('rel');
$('#ajax_wrapper').load(url);
});
even more annoying when I hard code the url value in:
var url = 'http://www.example.com/pages/home.html'
It works without problems.
adding alert(url)gives the correct address of the address.
source
share