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
mridu86mridu86 

How to access javscript variable from one visulaforcepge to another

Hi, 

I have one javascript variable which is used in the visualforcepage.(isUploadPressed).Iwant to use it another visual forcepage.How to do it..Can anyone help me out of this

 

 

Thanks

Mridu

kiranmutturukiranmutturu

do u have the same controller for both the pages?

AmitSahuAmitSahu

Either you have to use the same controller for the other VF page as well or you have to have a global class variable declared.