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
rajsrajs 

How to use Special characters in VF

Hi
       I want use '>' and '<' char in my page.
Sample code:
<apex:commandbutton action="{!Save}" value=">" id="S1" />
but it not working for me . Can u  find where i made mistake.
 
 
Regards
Raj
Ted.TsungTed.Tsung
I think &gt; will work.
RyanGuestRyanGuest
Yes,

Code:
<apex:commandbutton action="{!Save}" value="&gt;" id="S1" />

 
should work. For a list of special characters and how to encode them into HTML, see: http://www.astro.washington.edu/owen/ROFM_CGI/Documentation/SpecialChars.html http://www.astro.washington.edu/owen/ROFM_CGI/Documentation/SpecialChars.html