Reply
Regular Contributor
RAJU_DEEP
Posts: 54

how to call javascript function inside the visualforce page.

Hello,

        I am unable to call a javascript function while creating visualforce page. I have uploaded the javascript in the static resources and don't know how to relate the javascript funtions in the visualforce.TreeVie1 and TreeView2 is my javascript file which is uploaded.

 

 

 this is the particular line in which i am getting error:

 

foldersTree = gFld("<i>Flags and maps</i>", "https://c.ap1.visual.force.com/apex/distrubuteComp")
 error:
gFld is not
defined