'Show/Hide Post Text Item Oracle APEX

I have a Post Text Item at the end of my text fields.

Post text item at the end

When I click on it, it shows a PopUp, that retrieves a key to insert in one of my tables. It is possible that after I close the PopUp, the Post Item disappear from the screen?

I call the popup this way:

      <a href="javascript:callMyPopup(836,'P831_AC_KEY_1','P831_AC_KEY','P836_AC_KEY','P836_AC_KEY_1');">

<img src="/i/list.gif" title="Select Service" width="13" height="13" alt="Popup Lov" />
</a>
<div id = "msg1" style="color:red"><strong></strong></div>

Thanks in advance!



Solution 1:[1]

I figure a way to trick the user. The original field is shown with a server side condition, where item IS NOT NULL. When Item IS NULL, I hide the other. It is a workaround but it works. And the user will see like the button hides.

Maybe someone can find this "solution" easy or can come with a better idea. Thanks anyway!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 José Mora