Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
JavaScript
$.ajax({ url: home.aspx+ '?rel=tab', success: function(data){});


I am using this method to page load without refreshment but it take too much time to load entire page load
so do we have any other option
Posted
Comments
There must be some components in that page which is making it to load late.
Please check if that page is heavy with any data binding controls or not.

And you can also check the requests under "Net" tab in FireBug of Firefox to know which request is taking how much time.
Member-515487 12-May-13 1:58am    
page ony content info n small <14 kb img its live http://acemultitrade.com/s2net/about_us.aspx
having menu check it takeing 15 secs

1 solution

just use page method so that its fast..
 
Share this answer
 
Comments
Member-515487 12-May-13 2:01am    
what will be d code for it

$.ajax({
type: "POST",
url: "PageName.aspx",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
$('#content').html(msg)
}
});
Member-515487 13-May-13 1:55am    
i think it willl nt work i want to entire page load on click without refeshment

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900