You need to sign in to do that
Don't have an account?
SN SF
Receiving unwanted Java script tags on VF page
Hi -
I have a VF page that has two tabs (tab1 and tab2) . We have used two VF components to build the page
I receive below code at the bottom of the page
1. when I switch from tab1 to tab2 (below is the code I receive )
It looks like everytime the page is loaded I get this code .I am not sure from where these tags are coming . can somone help me on this ?
Regards ,
SN
I have a VF page that has two tabs (tab1 and tab2) . We have used two VF components to build the page
I receive below code at the bottom of the page
1. when I switch from tab1 to tab2 (below is the code I receive )
window.parent.SfdcApp.Visualforce.viewstate.ViewInstance.reload();
2. When I change pagination from selectlist (below is the code I receive )
try{window.scrollTo(0,0);}finally{window.parent.SfdcApp.Visualforce.viewstate.ViewInstance.reload();}
3. When I click on any button (SAVE , SAVE & NEXT , SAVE & PREVIOUS)
try{window.scrollTo(0,0);}finally{window.parent.SfdcApp.Visualforce.viewstate.ViewInstance.reload();}
It looks like everytime the page is loaded I get this code .I am not sure from where these tags are coming . can somone help me on this ?
Regards ,
SN
Greetings!
You can try by inspecting the code to see which component is being triggered when you are trying to switch between the Tabs on the VF page.
Also,use the lightning inspector which will help you to see the code as well.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/inspector_use.htm
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri