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
KMK91KMK91 

Hide JQuery button

Hi All,

How to hide Jquery (Input) button in visualforce page and need to display particular profile.

Thanks
KMK
Best Answer chosen by KMK91
GulshanRajGulshanRaj
Why don't you try using the output panel
<apex:outputPanel id="thePanel" layout="block" rendered ="{!someProperty}">
    Your input button 
</apex:outputPanel>

And in this somePropery variable, you can put your logic by making true or false based on the profile.



Thanks
Gulshan Raj (https://forceblazer.com/)

All Answers

GulshanRajGulshanRaj
Why don't you try using the output panel
<apex:outputPanel id="thePanel" layout="block" rendered ="{!someProperty}">
    Your input button 
</apex:outputPanel>

And in this somePropery variable, you can put your logic by making true or false based on the profile.



Thanks
Gulshan Raj (https://forceblazer.com/)
This was selected as the best answer
KMK91KMK91
Thank you Gulshan