Show Help Text using JavaScript in Oracle APEX

 

This blog explains, how to Show Help Text using JavaScript in Oracle APEX. 

Follow the below steps to achieve this.

1) Create a Region

2) Create a Button in the region.

3) Create an On Click dynamic action for the button.

4) Create a True Action (Execute JavaScript Code) and paste the below code.

apex.theme.popupFieldHelp({
    title: "Help",
    helpText: 'This is a help text box'
});
  • The Help Text also accepts HTML. Below is an example on how to use HTML in the help text.
apex.theme.popupFieldHelp({
    title: "Help Text with HTML",
    helpText: '<style>'+
                  '.li-color {color:blue;}'+
              '</style>'+
              '<ul>'+
                  '<li class="li-color"><b>This is a help text box that accepts HTML formatting</b></li>'+
              '</ul>'
});


Click here for DEMO

Happy CODING!!!

Thank you:)

Comments

Post a Comment

Popular posts from this blog

Allow Only Number/Decimal values In a Number/Text Field Using JavaScript in Oracle APEX

Display and Edit CLOB Content in Oracle APEX

Copy the value of an Item to Clipboard in Oracle APEX