function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
phani venkatphani venkat 

redirect to another visualforce page in a div within a home page through jquery ajax in visualforce page

$.ajax({
        type: "GET",
        url: "/apex/mycustompage",
        dataType: "html",
        success: function (data) {
}
in the above code in url i am providnig custom Vf page name but it is not redirecting.
EnreecoEnreeco
If what you need is a redirect, just use
window.location = '/apex/mycustompage';
You don't need Ajax call.

Hope this helps
--
May the Force.com be with you