+ Start a Discussion
Ankit Gupta@ DeveloperAnkit Gupta@ Developer 

Getting Javascript error while creating a Visual force page




I have created a blank visualforce page  and check the javascript error console i'm getting below error



Timestamp: 10/19/2013 8:35:43 PM
Error: ReferenceError: initViewstateTab is not defined
Source File: https://c.ap1.visual.force.com/jslibrary/1381427012000/sfdc/VFDevMode.js
Line: 23





i got exactly the same error. 

Any tip would be appreciated!  :)

Constantine AdamsConstantine Adams

I too am getting this error - any help?

I've found it's connected to View State tab in Developement console. If "Developement Mode" is enabled and "Show View State in Development Mode" is disabled then I'm getting this error.
So you could switch off (uncheck) "Developement Mode" in <Your Name> / My Settings / Personal / Advenced User Details 
OR switch on (check) both "Developement Mode" and "Show View State in Development Mode".