How to change URL withought page postback


On July 25

How to change URL withought page postback


In many leading web sites like facebook we find that when we click on the link the content is loaded asynchronously without posting back the page, even though the URL changing :

the following code shows how tochange URL without post back of page, to load content you can use the ajax funtionality :


function changeURL(){


var pageurl = "your url";

 


if (pageurl != window.location) {
            window.history.pushState({ path: pageurl }, '', pageurl);

}


}

 

You may also like :

Basic steps to implement ASP dotnet MVC using Entity Framework Code First approach
SQL Query to Release lock on database
How to change URL withought page postback
Csharp Code to make call By connecting you phone to PC
BE Electronics ETC IT Computer Project Titles - Group 1
SQL Query to Split string by specific seperator
Simple Page Method in asp.net
Error 720 Resolution
Queries in LINQ to DataSet
BEWARE-XSS THIEVES ARE LOOKING FOR YOU
how to search date within range in c Sharp dot net and mssql

You may also like :





Responses