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
shravani milshravani mil 

Error on clicking button

I am getting the below error.can any one suggest some solution
Aproblem with onclick  javascript for this button or link was encountered is null or not object.
Best Answer chosen by shravani mil
You can use as below 
this.getElementbyId('yourid').style instead of using directly

Please let me know in case of any further queries

Sandeep Singhal