0
Target problem
i want to open href link to open in same page inside the other div . so how can i achieve it. by css and html.. i dont want to use iframe so. tell me another way. thanks
3 Answers
+ 4
you'll need JavaScript/jQuery for that. Ajax is the key.
0
$(function(){
$("#header").load("header.html");
$("#user").load("user.html");
$("#display").load("display1.html");
$("#footer").load("footer.html");
});
$(function(){
$('# aside user ul li a').click(function(e) {
$('#section').hide().load( $(this).attr('href') , function(){
$('#section').show()
})
return false
})
})
0
$(function(){ $('# aside user ul li a').click(function(e) { $('#section').hide().load( $(this).attr('href') , function(){ $('#section').show() }) return false }) })
THIS CODE I USED BUT DID NOT GET ANY CHANGE