what will this code do.
var href="localhost/xyz/applications/controllers/login/calllogs/id/49";
var container = $('#paged-data-container');
$.get(href, { format: 'html' }, function(data){
//dataContainer.removeClass('loading');
container.html(data);
}, 'html');
is this code go to calllogs action of login controller and than put the data in container?
if i alert the data it’s not alerting what is the problem? and what will this code do?
edited
basically there is no problem with href i am getting href like this
$('.pagination-control').find('a').live('click', function(){
var href = this.href;
alert(href);
....... this is right i guess
I suggest passing it a valid URL replacing the colon with a semi-colon:
Additional Information: jQuery
.get()docs.