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 

Help message not getting diplayed.


I am using below script to display help icon and help message to be displayed to the user on a field.

When I had inserted this code in my vf page, it was working , but suddenly it has stopped working.

Please suggest. Thanks!




<span id="Buyer-_help" class="helpButtonOn">
<img class="helpOrb" title="" alt="" src="/s.gif"/>
<script type="text/javascript">
sfdcPage.setHelp('Buyer', 'MyText')</script>


Hi RTandon, 


Is there anything that has changed in your code recently?


You may try , <img src="/s.gif" alt="Help" class="helpIcon" title="Your inline text". 


Or use the code: 

<apex:page >

        .vfHelpText a            {position:relative;}
        .vfHelpText a span       {display: none;}
        .vfHelpText a:hover span {display: block;
                                  padding:2px 5px;
                                  left:-15em; width:15em;
                                  border:1px solid orange;
    <span class="vfHelpText">
        <apex:outputLink value="javascript&colon;return false;">
            <img src="/s.gif" alt="" class="helpOrb" />

- See more at: