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
Unisoft PhucVVUnisoft PhucVV 

Change URL in VisualForce Page.

User-added image

User-added image
I created a Page, after I add it in Tabs.

When I click in this Tabs. It's have URL :

I want to add a parameter Account ID in this Page when click in Tabs Page in menu ( by code not hander). How I can do it?
Prabhat Kumar12Prabhat Kumar12
You can do this by using Javascript. Create a function in You VF page and call it when page loads something like this.
// Function to pass Account id in URL
function myFunction() {

location.href = "";

//Function to call on page load.
window.onload = function() {
User-added image