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
Shruthi GM 4Shruthi GM 4 

Hi,I need a help.How to call the object id dynamically in href

Using javascrip in visualforce page I am trying to redirct page.
<script>

window.location.href='+/Account.id';

<script>
This is not working.....How do I pass id dynamically here?
Please help me.


Thanks in advance.
Meenu MathewMeenu Mathew
Hi Shruthi,

Please refer the below link
https://developer.salesforce.com/forums/?id=906F0000000DBwfIAG

Thanks