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
king kpking kp 

Javascript using the Apex class?

Hi Firends,

How to use the Java script in Apex class (OR)  in static resource stored Javascript we can use the Apex class,
please help me.


Thanks
kullayappa
Best Answer chosen by king kp
sfdcMonkey.comsfdcMonkey.com
hi kullayappa
nope you don't use javascritp in apex class. becsue apex is related to salesforce database and javascript related to html dom. you can't save your apex class with javascript statements 
Thanks :)
mark it solve if its helps you.

All Answers

sfdcMonkey.comsfdcMonkey.com
hi KingKp
go to below link. for your solution.
https://developer.salesforce.com/forums/?id=906F000000093zeIAA

i hop its helps you 
Thanks 
mark it best answer if it helps you :)
king kpking kp
Hi soni piyush,

This link use in VF page,i want to only use Apex class(future callout) methode

Please help me

Thanks
kullayappa

 
sfdcMonkey.comsfdcMonkey.com
hi kullayappa
nope you don't use javascritp in apex class. becsue apex is related to salesforce database and javascript related to html dom. you can't save your apex class with javascript statements 
Thanks :)
mark it solve if its helps you.
This was selected as the best answer
king kpking kp
Hi soni piyush,

Is there any chance use the Javascript store in Static resourcce in that javascript use Apex class

Thanks
kullayappa
sfdcMonkey.comsfdcMonkey.com
nope :)